pub struct PE11<MODE> { /* private fields */ }
Expand description
Pin
Implementations§
Source§impl<MODE> PE11<MODE>
impl<MODE> PE11<MODE>
Sourcepub fn into_af4(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF4>
pub fn into_af4(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF4>
Configures the pin to serve as alternate function 4 (AF4)
Sourcepub fn into_af5(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF5>
pub fn into_af5(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF5>
Configures the pin to serve as alternate function 5 (AF5)
Sourcepub fn into_af6(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF6>
pub fn into_af6(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF6>
Configures the pin to serve as alternate function 6 (AF6)
Sourcepub fn into_af7(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF7>
pub fn into_af7(self, moder: &mut MODER, afr: &mut AFRH) -> PE11<AF7>
Configures the pin to serve as alternate function 7 (AF7)
Sourcepub fn into_floating_input(
self,
moder: &mut MODER,
pupdr: &mut PUPDR,
) -> PE11<Input<Floating>>
pub fn into_floating_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PE11<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,
) -> PE11<Input<PullDown>>
pub fn into_pull_down_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PE11<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,
) -> PE11<Input<PullUp>>
pub fn into_pull_up_input( self, moder: &mut MODER, pupdr: &mut PUPDR, ) -> PE11<Input<PullUp>>
Configures the pin to operate as a pulled up input pin
Trait Implementations§
Auto Trait Implementations§
impl<MODE> Freeze for PE11<MODE>
impl<MODE> RefUnwindSafe for PE11<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PE11<MODE>where
MODE: Send,
impl<MODE> Sync for PE11<MODE>where
MODE: Sync,
impl<MODE> Unpin for PE11<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PE11<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