Struct lpc55_hal::peripherals::iocon::Iocon [−][src]
pub struct Iocon<State = Unknown> { pub _state: State, // some fields omitted }
Fields
_state: State
Implementations
impl<State> Iocon<State>
[src]
impl<State> Iocon<State>
[src]pub fn enabled(self, syscon: &mut Syscon) -> Iocon<Enabled>
[src]
Enable IO pin configuration
Turn on the clock for a disabled Iocon, enabling it.
pub fn disabled(self, syscon: &mut Syscon) -> Iocon<Disabled>
[src]
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
.
impl Iocon<Enabled>
[src]
impl Iocon<Enabled>
[src]