pub struct PC11<MODE> { /* private fields */ }
Expand description
Pin PC11
Implementations§
Source§impl<MODE> PC11<MODE>
impl<MODE> PC11<MODE>
Sourcepub fn into_af1(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF1>
pub fn into_af1(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF1>
Configures PC11 to serve as alternate function: AF1
Sourcepub fn into_af4(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF4>
pub fn into_af4(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF4>
Configures PC11 to serve as alternate function: AF4
Sourcepub fn into_af5(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF5>
pub fn into_af5(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF5>
Configures PC11 to serve as alternate function: AF5
Sourcepub fn into_af6(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF6>
pub fn into_af6(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF6>
Configures PC11 to serve as alternate function: AF6
Sourcepub fn into_af7(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF7>
pub fn into_af7(self, moder: &mut MODER, afr: &mut AFRH) -> PC11<AF7>
Configures PC11 to serve as alternate function: AF7
Sourcepub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR,
) -> PC11<Input<Floating>>
pub fn into_floating_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PC11<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,
) -> PC11<Input<PullDown>>
pub fn into_pull_down_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PC11<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,
) -> PC11<Input<PullUp>>
pub fn into_pull_up_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PC11<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,
) -> PC11<Output<OpenDrain>>
pub fn into_open_drain_output( self, moder: &mut MODER, otyper: &mut OTYPER, ) -> PC11<Output<OpenDrain>>
Configures the pin to operate as an open drain output pin
Source§impl PC11<Output<OpenDrain>>
impl PC11<Output<OpenDrain>>
Sourcepub fn internal_pull_up(&mut self, pupdr: &mut PUPDR, on: bool)
pub fn internal_pull_up(&mut self, pupdr: &mut PUPDR, on: bool)
Enables / disables the internal pull up
Trait Implementations§
Source§impl<MODE> StatefulOutputPin for PC11<Output<MODE>>
impl<MODE> StatefulOutputPin for PC11<Output<MODE>>
impl<MODE> Default for PC11<Output<MODE>>
impl MisoPin<SPI3> for PC11<AF6>
impl RxPin<USART3> for PC11<AF7>
Auto Trait Implementations§
impl<MODE> Freeze for PC11<MODE>
impl<MODE> RefUnwindSafe for PC11<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PC11<MODE>where
MODE: Send,
impl<MODE> Sync for PC11<MODE>where
MODE: Sync,
impl<MODE> Unpin for PC11<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PC11<MODE>where
MODE: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more