Struct stm32f407g_disc::gpio::gpioi::PI5
source · pub struct PI5<MODE> { /* private fields */ }
Expand description
Pin
Implementations§
source§impl<MODE> PI5<MODE>
impl<MODE> PI5<MODE>
sourcepub fn into_alternate_af0(self) -> PI5<Alternate<AF0>>
pub fn into_alternate_af0(self) -> PI5<Alternate<AF0>>
Configures the pin to operate in AF0 mode
sourcepub fn into_alternate_af1(self) -> PI5<Alternate<AF1>>
pub fn into_alternate_af1(self) -> PI5<Alternate<AF1>>
Configures the pin to operate in AF1 mode
sourcepub fn into_alternate_af2(self) -> PI5<Alternate<AF2>>
pub fn into_alternate_af2(self) -> PI5<Alternate<AF2>>
Configures the pin to operate in AF2 mode
sourcepub fn into_alternate_af3(self) -> PI5<Alternate<AF3>>
pub fn into_alternate_af3(self) -> PI5<Alternate<AF3>>
Configures the pin to operate in AF3 mode
sourcepub fn into_alternate_af4(self) -> PI5<Alternate<AF4>>
pub fn into_alternate_af4(self) -> PI5<Alternate<AF4>>
Configures the pin to operate in AF4 mode
sourcepub fn into_alternate_af5(self) -> PI5<Alternate<AF5>>
pub fn into_alternate_af5(self) -> PI5<Alternate<AF5>>
Configures the pin to operate in AF5 mode
sourcepub fn into_alternate_af6(self) -> PI5<Alternate<AF6>>
pub fn into_alternate_af6(self) -> PI5<Alternate<AF6>>
Configures the pin to operate in AF6 mode
sourcepub fn into_alternate_af7(self) -> PI5<Alternate<AF7>>
pub fn into_alternate_af7(self) -> PI5<Alternate<AF7>>
Configures the pin to operate in AF7 mode
sourcepub fn into_alternate_af8(self) -> PI5<Alternate<AF8>>
pub fn into_alternate_af8(self) -> PI5<Alternate<AF8>>
Configures the pin to operate in AF8 mode
sourcepub fn into_alternate_af9(self) -> PI5<Alternate<AF9>>
pub fn into_alternate_af9(self) -> PI5<Alternate<AF9>>
Configures the pin to operate in AF9 mode
sourcepub fn into_alternate_af10(self) -> PI5<Alternate<AF10>>
pub fn into_alternate_af10(self) -> PI5<Alternate<AF10>>
Configures the pin to operate in AF10 mode
sourcepub fn into_alternate_af11(self) -> PI5<Alternate<AF11>>
pub fn into_alternate_af11(self) -> PI5<Alternate<AF11>>
Configures the pin to operate in AF11 mode
sourcepub fn into_alternate_af12(self) -> PI5<Alternate<AF12>>
pub fn into_alternate_af12(self) -> PI5<Alternate<AF12>>
Configures the pin to operate in AF12 mode
sourcepub fn into_alternate_af13(self) -> PI5<Alternate<AF13>>
pub fn into_alternate_af13(self) -> PI5<Alternate<AF13>>
Configures the pin to operate in AF13 mode
sourcepub fn into_alternate_af14(self) -> PI5<Alternate<AF14>>
pub fn into_alternate_af14(self) -> PI5<Alternate<AF14>>
Configures the pin to operate in AF14 mode
sourcepub fn into_alternate_af15(self) -> PI5<Alternate<AF15>>
pub fn into_alternate_af15(self) -> PI5<Alternate<AF15>>
Configures the pin to operate in AF15 mode
sourcepub fn into_floating_input(self) -> PI5<Input<Floating>>
pub fn into_floating_input(self) -> PI5<Input<Floating>>
Configures the pin to operate as a floating input pin
sourcepub fn into_pull_down_input(self) -> PI5<Input<PullDown>>
pub fn into_pull_down_input(self) -> PI5<Input<PullDown>>
Configures the pin to operate as a pulled down input pin
sourcepub fn into_pull_up_input(self) -> PI5<Input<PullUp>>
pub fn into_pull_up_input(self) -> PI5<Input<PullUp>>
Configures the pin to operate as a pulled up input pin
sourcepub fn into_open_drain_output(self) -> PI5<Output<OpenDrain>>
pub fn into_open_drain_output(self) -> PI5<Output<OpenDrain>>
Configures the pin to operate as an open drain output pin
sourcepub fn into_push_pull_output(self) -> PI5<Output<PushPull>>
pub fn into_push_pull_output(self) -> PI5<Output<PushPull>>
Configures the pin to operate as an push pull output pin
source§impl PI5<Output<OpenDrain>>
impl PI5<Output<OpenDrain>>
sourcepub fn internal_pull_up(&mut self, on: bool)
pub fn internal_pull_up(&mut self, on: bool)
Enables / disables the internal pull up
source§impl<MODE> PI5<Alternate<MODE>>
impl<MODE> PI5<Alternate<MODE>>
sourcepub fn internal_pull_up(self, on: bool) -> PI5<Alternate<MODE>>
pub fn internal_pull_up(self, on: bool) -> PI5<Alternate<MODE>>
Enables / disables the internal pull up
source§impl<MODE> PI5<Alternate<MODE>>
impl<MODE> PI5<Alternate<MODE>>
sourcepub fn set_open_drain(self) -> PI5<Alternate<MODE>>
pub fn set_open_drain(self) -> PI5<Alternate<MODE>>
Turns pin alternate configuration pin into open drain