Struct nrf52832_hal::gpio::p0::P0_03 [−][src]
pub struct P0_03<MODE> { /* fields omitted */ }
Implementations
Convert the pin to be a floating input
Convert the pin to bepin a push-pull output with normal drive
pub fn into_open_drain_output(
self,
config: OpenDrainConfig,
initial_output: Level
) -> P0_03<Output<OpenDrain>>
pub fn into_open_drain_output(
self,
config: OpenDrainConfig,
initial_output: Level
) -> P0_03<Output<OpenDrain>>
Convert the pin to be an open-drain output
This method currently does not support configuring an internal pull-up or pull-down resistor.
Disconnects the pin.
In disconnected mode the pin cannot be used as input or output. It is primarily useful to reduce power usage.