diff options
author | 2020-04-12 18:55:03 +0100 | |
---|---|---|
committer | 2020-04-15 15:47:50 +0100 | |
commit | 27d52597d026fced3e78a45fbedd590a600de270 (patch) | |
tree | 9f45f189fc3ce8cc2f3df30682895c1dda0ab6eb /src/asm.rs | |
parent | e41b27331c70865b89b5584b13c0b469de30daff (diff) | |
download | cortex-m-27d52597d026fced3e78a45fbedd590a600de270.tar.gz cortex-m-27d52597d026fced3e78a45fbedd590a600de270.tar.zst cortex-m-27d52597d026fced3e78a45fbedd590a600de270.zip |
Add SCB methods to enable/disable exceptions
Some exceptions might be disabled by default which means that the
HardFault handler will be called instead of the exception handler. This
commit adds methods on the SCB peripheral that use the SHCSR register to
enable/disable exceptions.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src/asm.rs')
0 files changed, 0 insertions, 0 deletions