Struct lpc55_hal::peripherals::flexcomm::Flexcomm0[][src]

pub struct Flexcomm0<State = Unknown> {
    pub _state: State,
    // some fields omitted
}

Fields

_state: State

Implementations

impl<State> Flexcomm0<State>[src]

pub fn release(self) -> (FLEXCOMM0, I2C0, I2S0, SPI0, USART0)[src]

impl Flexcomm0[src]

pub fn enabled_as_i2c(
    self,
    syscon: &mut Syscon,
    _clocks_token: &ClocksSupportFlexcommToken
) -> I2c0<Enabled>
[src]

pub fn enabled_as_spi(
    self,
    syscon: &mut Syscon,
    _clocks_token: &ClocksSupportFlexcommToken
) -> Spi0<Enabled>
[src]

pub fn enabled_as_usart(
    self,
    syscon: &mut Syscon,
    _clocks_token: &ClocksSupportFlexcommToken
) -> Usart0<Enabled>
[src]

Trait Implementations

impl From<(FLEXCOMM0, I2C0, I2S0, SPI0, USART0)> for Flexcomm0[src]

Auto Trait Implementations

impl<State> Send for Flexcomm0<State> where
    State: Send

impl<State = Unknown> !Sync for Flexcomm0<State>

impl<State> Unpin for Flexcomm0<State> where
    State: Unpin

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

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.