diff options
author | 2020-04-15 09:52:01 +0100 | |
---|---|---|
committer | 2020-06-24 11:13:46 +0100 | |
commit | 08f2a69abeac6d681c2e59b0b0b62e1d803389eb (patch) | |
tree | 8e956def3987f3da9de20ee84ef2531e245925c6 /src/peripheral/mpu.rs | |
parent | 27d52597d026fced3e78a45fbedd590a600de270 (diff) | |
download | cortex-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/peripheral/mpu.rs')
0 files changed, 0 insertions, 0 deletions