[][src]Enum lpc55_pac::flexcomm0::pselid::PERSEL_A

[]
#[repr(u8)]pub enum PERSEL_A {
    NO_PERIPH_SELECTED,
    USART,
    SPI,
    I2C,
    I2S_TRANSMIT,
    I2S_RECEIVE,
}
[]

Peripheral Select. This field is writable by software.

Value on reset: 0

Variants

NO_PERIPH_SELECTED
[]

0: No peripheral selected.

USART
[]

1: USART function selected.

SPI
[]

2: SPI function selected.

I2C
[]

3: I2C function selected.

I2S_TRANSMIT
[]

4: I2S transmit function selected.

I2S_RECEIVE
[]

5: I2S receive function selected.

Trait Implementations

impl Clone for PERSEL_A[src][+]

impl Copy for PERSEL_A[src]

impl Debug for PERSEL_A[src][+]

impl From<PERSEL_A> for u8[src][+]

impl PartialEq<PERSEL_A> for PERSEL_A[src][+]

impl StructuralPartialEq for PERSEL_A[src]

Auto Trait Implementations

impl Send for PERSEL_A

impl Sync for PERSEL_A

impl Unpin for PERSEL_A

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> Same<T> for T[src]

type Output = T

Should always be Self

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.