Struct lpc55_hal::peripherals::iocon::Iocon[][src]

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

Fields

_state: State

Implementations

Enable IO pin configuration

Turn on the clock for a disabled Iocon, enabling it.

Disable IO pin configuration

Turns off the clock for an enabled Iocon, disabling it. Code that attempts to call this method when the peripheral is already disabled will not compile.

Consumes this instance of IOCON and returns another instance that has its State type parameter set to Disabled.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.