Struct esp32_hal::interrupt::InterruptLevel [−][src]
pub struct InterruptLevel(pub usize);
Expand description
Interrupt level.
Valid levels are 1 through 7. Level 6 is typically used for debug exceptions and level 7 for Non-Maskable Interrupts (NMI).
Level 0 is used to disable interrupts.
**Note: Level 7 (NMI) will not be disabled by the interrupt::free section. This risks race conditions in various places. **
Tuple Fields
0: usizeTrait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more