pub struct PB6<MODE> { /* private fields */ }
Expand description
Pin
Implementations§
source§impl<MODE> PB6<MODE>
impl<MODE> PB6<MODE>
sourcepub fn into_af4(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF4, MODE>>
pub fn into_af4(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF4, MODE>>
Configures the pin to serve as alternate function 4 (AF4)
sourcepub fn into_af5(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF5, MODE>>
pub fn into_af5(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF5, MODE>>
Configures the pin to serve as alternate function 5 (AF5)
sourcepub fn into_af6(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF6, MODE>>
pub fn into_af6(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF6, MODE>>
Configures the pin to serve as alternate function 6 (AF6)
sourcepub fn into_af7(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF7, MODE>>
pub fn into_af7(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF7, MODE>>
Configures the pin to serve as alternate function 7 (AF7)
sourcepub fn into_af8(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF8, MODE>>
pub fn into_af8(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF8, MODE>>
Configures the pin to serve as alternate function 8 (AF8)
sourcepub fn into_af9(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<Alternate<AF9, MODE>>
pub fn into_af9(
self,
moder: &mut MODER,
afr: &mut AFRL
) -> PB6<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
) -> PB6<Input<Floating>>
pub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PB6<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
) -> PB6<Input<PullDown>>
pub fn into_pull_down_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PB6<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
) -> PB6<Input<PullUp>>
pub fn into_pull_up_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PB6<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
) -> PB6<Output<OpenDrain>>
pub fn into_open_drain_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PB6<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
) -> PB6<Output<PushPull>>
pub fn into_push_pull_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PB6<Output<PushPull>>
Configures the pin to operate as an push pull output pin