pub struct PC7<MODE> { /* private fields */ }
Implementations
sourceimpl<MODE> PC7<MODE> where
MODE: Active,
impl<MODE> PC7<MODE> where
MODE: Active,
sourcepub fn into_floating_input(self, config: &mut Config) -> PC7<Input<Floating>>
pub fn into_floating_input(self, config: &mut Config) -> PC7<Input<Floating>>
Configures the pin to operate as a floating input.
sourcepub fn into_pull_up_input(self, config: &mut Config) -> PC7<Input<PullUp>>
pub fn into_pull_up_input(self, config: &mut Config) -> PC7<Input<PullUp>>
Configures the pin to operate as a pulled down input.
sourcepub fn into_pull_down_input(self, config: &mut Config) -> PC7<Input<PullDown>>
pub fn into_pull_down_input(self, config: &mut Config) -> PC7<Input<PullDown>>
Configures the pin to operate as a pulled down input.
sourcepub fn into_analog(self, config: &mut Config) -> PC7<Analog>
pub fn into_analog(self, config: &mut Config) -> PC7<Analog>
Configures the pin to operate as an analog input or output.
sourcepub fn into_open_drain_output(
self,
config: &mut Config
) -> PC7<Output<OpenDrain>>
pub fn into_open_drain_output(
self,
config: &mut Config
) -> PC7<Output<OpenDrain>>
Configures the pin to operate as an open drain output.
Trait Implementations
sourceimpl<MODE> StatefulOutputPin for PC7<Output<MODE>>
impl<MODE> StatefulOutputPin for PC7<Output<MODE>>
impl<MODE> Default for PC7<Output<MODE>>
impl Pin<TIMER2, Ch1> for PC7<Alternate<AF0>>
Auto Trait Implementations
impl<MODE> RefUnwindSafe for PC7<MODE> where
MODE: RefUnwindSafe,
impl<MODE> Send for PC7<MODE> where
MODE: Send,
impl<MODE> Sync for PC7<MODE> where
MODE: Sync,
impl<MODE> Unpin for PC7<MODE> where
MODE: Unpin,
impl<MODE> UnwindSafe for PC7<MODE> where
MODE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more