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

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

Fields

_state: State

Implementations

impl<State> Flexcomm5<State>[src]

pub fn release(self) -> (FLEXCOMM5, I2C5, I2S5, SPI5, USART5)[src]

impl Flexcomm5[src]

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

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

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

Trait Implementations

impl From<(FLEXCOMM5, I2C5, I2S5, SPI5, USART5)> for Flexcomm5[src]

Auto Trait Implementations

impl<State> Send for Flexcomm5<State> where
    State: Send
[src]

impl<State = Unknown> !Sync for Flexcomm5<State>[src]

impl<State> Unpin for Flexcomm5<State> where
    State: Unpin
[src]

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.