Enum lm3s6965::Interrupt

source ·
pub enum Interrupt {
Show 31 variants GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, UART0, UART1, SSI0, I2C0, PWM_FAULT, PWM_GENERATOR_0, PWM_GENERATOR_1, PWM_GENERATOR_2, QEI0, ADC0_SEQUENCE_0, ADC0_SEQUENCE_1, ADC0_SEQUENCE_2, ADC0_SEQUENCE_3, WATCHDOG_TIMER_0, TIMER_0A, TIMER_0B, TIMER_1A, TIMER_1B, TIMER_2A, TIMER_2B, ANALOG_COMPARATOR_0, ANALOG_COMPARATOR_1, SYSTEM_CONTROL, FLASH_MEMORY_CONTROL, GPIOF, GPIOG,
}
Expand description

Enumeration of all interrupts

NOTE: When compiling this crate for the thumbv6m-none-eabi target this enumeration will only contain the variants from GPIOA to GPIOG.

Variants§

§

GPIOA

GPIO Port A

§

GPIOB

GPIO Port B

§

GPIOC

GPIO Port C

§

GPIOD

GPIO Port D

§

GPIOE

GPIO Port E

§

UART0

UART0

§

UART1

UART1

§

SSI0

SSI0

§

I2C0

I2C0

§

PWM_FAULT

PWM fault

§

PWM_GENERATOR_0

PWM Generator 0

§

PWM_GENERATOR_1

PWM Generator 1

§

PWM_GENERATOR_2

PWM Generator 2

§

QEI0

QEI0

§

ADC0_SEQUENCE_0

ADC0 Sequence 0

§

ADC0_SEQUENCE_1

ADC0 Sequence 1

§

ADC0_SEQUENCE_2

ADC0 Sequence 2

§

ADC0_SEQUENCE_3

ADC0 Sequence 3

§

WATCHDOG_TIMER_0

Watchdog Timer 0

§

TIMER_0A

Timer 0A

§

TIMER_0B

Timer 0B

§

TIMER_1A

Timer 1A

§

TIMER_1B

Timer 1B

§

TIMER_2A

Timer 2A

§

TIMER_2B

Timer 2B

§

ANALOG_COMPARATOR_0

Analog Comparator 0

§

ANALOG_COMPARATOR_1

Analog Comparator 1

§

SYSTEM_CONTROL

System Control

§

FLASH_MEMORY_CONTROL

Flash Memory Control

§

GPIOF

GPIO Port F

§

GPIOG

GPIO Port G

Trait Implementations§

source§

impl Clone for Interrupt

source§

fn clone(&self) -> Interrupt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Nr for Interrupt

source§

fn nr(&self) -> u8

Returns the number associated with an interrupt
source§

impl Copy for Interrupt

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> InterruptNumber for Twhere T: Nr + Copy,

source§

fn number(self) -> u16

Return the interrupt number associated with this variant. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.