#[repr(u16)]pub enum Interrupt {
Show 21 variants
BLE_WAKEUP_LP = 0,
BLE_GEN = 1,
UART = 2,
UART2 = 3,
I2C = 4,
SPI = 5,
ADC = 6,
KEYBRD = 7,
BLE_RF_DIAG = 8,
RF_CAL = 9,
GPIO0 = 10,
GPIO1 = 11,
GPIO2 = 12,
GPIO3 = 13,
GPIO4 = 14,
SWTIM = 15,
WKUP_QUADEC = 16,
PCM = 17,
SRC_IN = 18,
SRC_OUT = 19,
DMA = 20,
}Expand description
Enumeration of all the interrupts.
Variants§
BLE_WAKEUP_LP = 0
Wake-up from Low Power (Extended Sleep) interrupt from BLE
BLE_GEN = 1
BLE Interrupt from various BLE sources.
UART = 2
UART interrupt
UART2 = 3
UART2 interrupt
I2C = 4
I2C interrupt
SPI = 5
SPI interrupt
ADC = 6
Analog-Digital Converter interrupt.
KEYBRD = 7
Keyboard interrupt.
BLE_RF_DIAG = 8
Baseband or Radio Diagnostics Interrupt
RF_CAL = 9
RF Calibration Interrupt
GPIO0 = 10
GPIO0 interrupt through debounce
GPIO1 = 11
GPIO1 interrupt through debounce
GPIO2 = 12
GPIO2 interrupt through debounce
GPIO3 = 13
GPIO3 interrupt through debounce
GPIO4 = 14
GPIO4 interrupt through debounce
SWTIM = 15
Software Timer interrupt
WKUP_QUADEC = 16
Combines the Wake up Capture Timer interrupt, the GPIO interrupt and the QuadDecoder interrupt
PCM = 17
PCM interrupt
SRC_IN = 18
Sample rate converter input interrupt
SRC_OUT = 19
Sample rate converter output interrupt
DMA = 20
DMA interrupt
Trait Implementations§
Source§impl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl Copy for Interrupt
impl Eq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl Freeze for Interrupt
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more