aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Hugues de Valon <hugues.devalon@arm.com> 2020-04-15 09:52:01 +0100
committerGravatar Hugues de Valon <hugues.devalon@arm.com> 2020-06-24 11:13:46 +0100
commit08f2a69abeac6d681c2e59b0b0b62e1d803389eb (patch)
tree8e956def3987f3da9de20ee84ef2531e245925c6 /src/lib.rs
parent27d52597d026fced3e78a45fbedd590a600de270 (diff)
downloadcortex-m-08f2a69abeac6d681c2e59b0b0b62e1d803389eb.tar.gz
cortex-m-08f2a69abeac6d681c2e59b0b0b62e1d803389eb.tar.zst
cortex-m-08f2a69abeac6d681c2e59b0b0b62e1d803389eb.zip
Add a function to get SHCSR enable bit positions
This removes the duplication of the look-up table and enforces some safety checks with the match statement. Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions