Crate cortex_m [−] [src]
Low level access to Cortex-M processors
This crate provides:
- Access to core peripherals like NVIC, SCB and SysTick.
- Access to core registers like CONTROL, MSP and PSR.
- Interrupt manipulation mechanisms
- Safe wrappers around assembly instructions like
bkpt
Reexports
pub use peripheral::Peripherals; |
Modules
| asm |
Miscellaneous assembly instructions |
| exception |
Exceptions |
| interrupt |
Interrupts |
| itm |
Instrumentation Trace Macrocell |
| peripheral |
Core peripherals |
| register |
Processor core registers |
Macros
| iprint |
Macro for sending a formatted string through an ITM channel |
| iprintln |
Macro for sending a formatted string through an ITM channel, with a newline. |
| singleton |
Macro to create a mutable reference to a statically allocated value |
Unions
| UntaggedOption |
A union which either holds a |