Trait stm32_hal2::gpio::GpioPin [−][src]
Gpio pin traits. Used to check pin config when passing to peripheral constructors.
Required methods
fn get_port(&self) -> PortLetter
[src]
Port letter (eg A)
fn get_pin(&self) -> PinNum
[src]
Pin num (eg P4)
fn get_mode(&self) -> PinMode
[src]
Pin mode (input, output, alt, analog), and the alt function if applicable.
fn get_output_type(&self) -> OutputType
[src]
Output type. Ie open drain or push pull.