Struct lpc55_hal::peripherals::iocon::Iocon [−][src]
Fields
_state: State
Implementations
impl Iocon
[src]
impl<State> Iocon<State>
[src]
impl<State> Iocon<State>
[src]
pub fn enabled(mut self: Self, syscon: &mut Syscon) -> Iocon<Enabled>
[src]
Enable IO pin configuration
Turn on the clock for a disabled Iocon, enabling it.
pub fn disabled(mut self: 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]
pub fn get_pio_0_8_config(&self) -> u32
[src]
pub fn get_pio_0_8_func(&self) -> u8
[src]
pub fn set_pio_0_8_swo_func(&self)
[src]
pub fn get_pio_0_10_config(&self) -> u32
[src]
pub fn get_pio_0_10_func(&self) -> u8
[src]
pub fn set_pio_0_10_swo_func(&self)
[src]
pub fn get_pio_0_22_config(&self) -> u32
[src]
pub fn configure_pio_0_22_as_usb0_vbus(&self)
[src]
Trait Implementations
Auto Trait Implementations
impl<State> Send for Iocon<State> where
State: Send,
[src]
State: Send,
impl<State = Unknown> !Sync for Iocon<State>
[src]
impl<State> Unpin for Iocon<State> where
State: Unpin,
[src]
State: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,