Struct kea_hal::gpio::gpiob::PTF4 [−][src]
pub struct PTF4<MODE> { /* fields omitted */ }
Expand description
a GPIO Port Pin
Implementations
Convert Pin into the Analog state for use by the ADC.
This implementation provides the GPIO interface a method to give an eligible pin to the ADC peripheral for conversion into an Analog pin. This method is only implemented in eligible pins. The ADC peripheral disables the GPIO and PORT control over the pin and connects it to the ADC mux (controlled by Adc::set_channel.
Note: The Analog::outof_analog method must be used to return the pin to a normal Input/Output typestate. The pin will be returned in the same typestate as it was received.
Implements the I/O type conversion methods
Configure as floating
Configure as pull up input
Configure as PushPull output
Configure into High Impedence output
Trait Implementations
type Error = Infallible
type Error = Infallible
Error type