Struct stm32f103xx_hal::gpio::gpioa::PA3
[−]
[src]
pub struct PA3<MODE> { /* fields omitted */ }
Pin
Methods
impl<MODE> PA3<MODE>
[src]
pub fn into_alternate_push_pull(self, cr: &mut CRL) -> PA3<Alternate<PushPull>>
[src]
Configures the pin to operate as an alternate function push pull output pin
pub fn into_floating_input(self, cr: &mut CRL) -> PA3<Input<Floating>>
[src]
Configures the pin to operate as a floating input pin
pub fn into_push_pull_output(self, cr: &mut CRL) -> PA3<Output<PushPull>>
[src]
Configures the pin to operate as an push pull output pin
impl<MODE> PA3<Output<MODE>>
[src]
pub fn downgrade(self) -> PAx<Output<MODE>>
[src]
Erases the pin number from the type
This is useful when you want to collect the pins into an array where you need all the elements to have the same type