Struct stm32_hal2::gpio::GpioDPin  [−][src]
pub struct GpioDPin {
    pub port: PortLetter,
    pub pin: u8,
}Expand description
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Fields
port: PortLetterpin: u8Implementations
Set output type.
Set output speed.
Set internal pull resistor: Pull up, pull down, or floating.
Set the output_data register.
Lock or unlock a port configuration.
Read the input data register.
Set a pin state (ie set high or low output voltage level).
Configure this pin as an interrupt source.