[][src]Enum betrusted_pac::Interrupt

#[repr(u8)]
pub enum Interrupt {
    UART,
    TIMER0,
    I2C,
    BTEVENTS,
    KEYBOARD,
    GPIO,
}

Enumeration of all the interrupts

Variants

UART

0 - uart

TIMER0

1 - timer0

I2C

2 - i2c

BTEVENTS

3 - btevents

KEYBOARD

4 - keyboard

GPIO

5 - gpio

Methods

impl Interrupt[src]

pub fn try_from(value: u8) -> Result<Self, TryFromInterruptError>[src]

Trait Implementations

impl Clone for Interrupt[src]

impl Copy for Interrupt[src]

impl Debug for Interrupt[src]

impl Nr for Interrupt[src]

Auto Trait Implementations

impl Send for Interrupt

impl Sync for Interrupt

impl Unpin for Interrupt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.