pub struct PartiallyErasedPin<const P: char, MODE> { /* private fields */ }Expand description
Partially erased pin
MODEis one of the pin modes (see Modes section).Pis port name:Afor GPIOA,Bfor 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> ErrorType for PartiallyErasedPin<P, MODE>
impl<const P: char, MODE> ErrorType for PartiallyErasedPin<P, MODE>
Source§type Error = Infallible
type Error = Infallible
Error type