Struct stm32l432xx_hal::gpio::gpioa::PA7
source · pub struct PA7<MODE> { /* private fields */ }
Expand description
Pin
Implementations§
source§impl<MODE> PA7<MODE>
impl<MODE> PA7<MODE>
sourcepub fn into_af4(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF4, MODE>>
pub fn into_af4(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF4, MODE>>
Configures the pin to serve as alternate function 4 (AF4)
sourcepub fn into_af5(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF5, MODE>>
pub fn into_af5(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF5, MODE>>
Configures the pin to serve as alternate function 5 (AF5)
sourcepub fn into_af6(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF6, MODE>>
pub fn into_af6(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF6, MODE>>
Configures the pin to serve as alternate function 6 (AF6)
sourcepub fn into_af7(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF7, MODE>>
pub fn into_af7(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF7, MODE>>
Configures the pin to serve as alternate function 7 (AF7)
sourcepub fn into_af8(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF8, MODE>>
pub fn into_af8(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF8, MODE>>
Configures the pin to serve as alternate function 8 (AF8)
sourcepub fn into_af9(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF9, MODE>>
pub fn into_af9(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PA7<Alternate<AF9, MODE>>
Configures the pin to serve as alternate function 9 (AF9)
sourcepub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<Floating>>
pub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<Floating>>
Configures the pin to operate as a floating input pin
sourcepub fn into_pull_down_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<PullDown>>
pub fn into_pull_down_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<PullDown>>
Configures the pin to operate as a pulled down input pin
sourcepub fn into_pull_up_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<PullUp>>
pub fn into_pull_up_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA7<Input<PullUp>>
Configures the pin to operate as a pulled up input pin
sourcepub fn into_open_drain_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA7<Output<OpenDrain>>
pub fn into_open_drain_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA7<Output<OpenDrain>>
Configures the pin to operate as an open drain output pin
sourcepub fn into_push_pull_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA7<Output<PushPull>>
pub fn into_push_pull_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA7<Output<PushPull>>
Configures the pin to operate as an push pull output pin