Struct stm32f1xx_hal::gpio::PartiallyErasedPin
source · pub struct PartiallyErasedPin<const P: char, MODE> { /* private fields */ }
Expand description
Partially erased pin
MODE
is one of the pin modes (see Modes section).P
is port name:A
for GPIOA,B
for GPIOB, etc.
Implementations§
source§impl<const P: char, MODE> PartiallyErasedPin<P, Output<MODE>>
impl<const P: char, MODE> PartiallyErasedPin<P, Output<MODE>>
source§impl<const P: char, MODE> PartiallyErasedPin<P, Input<MODE>>
impl<const P: char, MODE> PartiallyErasedPin<P, Input<MODE>>
Trait Implementations§
source§impl<const P: char, MODE> OutputPin for PartiallyErasedPin<P, Output<MODE>>
impl<const P: char, MODE> OutputPin for PartiallyErasedPin<P, Output<MODE>>
§type Error = Infallible
type Error = Infallible
Error type