[−][src]Struct solo_bsc::gpio::gpioa::PA9
Pin
Methods
impl<MODE> PA9<MODE>
[src]
pub fn into_af4(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF4, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF4, MODE>>
Configures the pin to serve as alternate function 4 (AF4)
pub fn into_af5(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF5, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF5, MODE>>
Configures the pin to serve as alternate function 5 (AF5)
pub fn into_af6(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF6, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF6, MODE>>
Configures the pin to serve as alternate function 6 (AF6)
pub fn into_af7(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF7, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF7, MODE>>
Configures the pin to serve as alternate function 7 (AF7)
pub fn into_af8(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF8, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF8, MODE>>
Configures the pin to serve as alternate function 8 (AF8)
pub fn into_af9(
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, MODE>>
[src]
self,
moder: &mut MODER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, MODE>>
Configures the pin to serve as alternate function 9 (AF9)
pub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<Floating>>
[src]
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<Floating>>
Configures the pin to operate as a floating input pin
pub fn into_pull_down_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<PullDown>>
[src]
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<PullDown>>
Configures the pin to operate as a pulled down input pin
pub fn into_pull_up_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<PullUp>>
[src]
self,
moder: &mut MODER,
pupdr: &mut PUPDR
) -> PA9<Input<PullUp>>
Configures the pin to operate as a pulled up input pin
pub fn into_open_drain_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA9<Output<OpenDrain>>
[src]
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA9<Output<OpenDrain>>
Configures the pin to operate as an open drain output pin
pub fn into_push_pull_output(
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA9<Output<PushPull>>
[src]
self,
moder: &mut MODER,
otyper: &mut OTYPER
) -> PA9<Output<PushPull>>
Configures the pin to operate as an push pull output pin
pub fn into_touch_sample(
self,
moder: &mut MODER,
otyper: &mut OTYPER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, Output<OpenDrain>>>
[src]
self,
moder: &mut MODER,
otyper: &mut OTYPER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, Output<OpenDrain>>>
Configures the pin to operate as an touch sample
pub fn into_touch_channel(
self,
moder: &mut MODER,
otyper: &mut OTYPER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, Output<PushPull>>>
[src]
self,
moder: &mut MODER,
otyper: &mut OTYPER,
afr: &mut AFRH
) -> PA9<Alternate<AF9, Output<PushPull>>>
Configures the pin to operate as an touch channel
impl PA9<Output<OpenDrain>>
[src]
pub fn internal_pull_up(&mut self, pupdr: &mut PUPDR, on: bool)
[src]
Enables / disables the internal pull up
impl<MODE> PA9<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
Trait Implementations
impl<MODE> InputPin for PA9<Input<MODE>>
[src]
impl SclPin<I2C1> for PA9<Alternate<AF4, Output<OpenDrain>>>
[src]
impl<MODE> OutputPin for PA9<Output<MODE>>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self