[−][src]Module avr_device::interrupt
Chip-Generic Interrupt Utilities
For the most part, crate::interrupt::free is what you want:
atmega32u4::interrupt::free(|cs| { // Interrupts are disabled here })
Structs
CriticalSection | Critical section token |
Mutex | A "mutex" based on critical sections |
Traits
Nr | Interrupt number |
Functions
disable | Disables all interrupts |
enable | Enables all the interrupts |
free | Execute closure |