pub struct PF1<MODE> { /* private fields */ }
Implementations
sourceimpl<MODE> PF1<MODE> where
MODE: Active,
impl<MODE> PF1<MODE> where
MODE: Active,
sourcepub fn into_floating_input(self, config: &mut Config) -> PF1<Input<Floating>>
pub fn into_floating_input(self, config: &mut Config) -> PF1<Input<Floating>>
Configures the pin to operate as a floating input.
sourcepub fn into_pull_up_input(self, config: &mut Config) -> PF1<Input<PullUp>>
pub fn into_pull_up_input(self, config: &mut Config) -> PF1<Input<PullUp>>
Configures the pin to operate as a pulled down input.
sourcepub fn into_pull_down_input(self, config: &mut Config) -> PF1<Input<PullDown>>
pub fn into_pull_down_input(self, config: &mut Config) -> PF1<Input<PullDown>>
Configures the pin to operate as a pulled down input.
sourcepub fn into_analog(self, config: &mut Config) -> PF1<Analog>
pub fn into_analog(self, config: &mut Config) -> PF1<Analog>
Configures the pin to operate as an analog input or output.
sourcepub fn into_open_drain_output(
self,
config: &mut Config
) -> PF1<Output<OpenDrain>>
pub fn into_open_drain_output(
self,
config: &mut Config
) -> PF1<Output<OpenDrain>>
Configures the pin to operate as an open drain output.
Trait Implementations
sourceimpl<MODE> StatefulOutputPin for PF1<Output<MODE>>
impl<MODE> StatefulOutputPin for PF1<Output<MODE>>
impl<MODE> Default for PF1<Output<MODE>>
Auto Trait Implementations
impl<MODE> RefUnwindSafe for PF1<MODE> where
MODE: RefUnwindSafe,
impl<MODE> Send for PF1<MODE> where
MODE: Send,
impl<MODE> Sync for PF1<MODE> where
MODE: Sync,
impl<MODE> Unpin for PF1<MODE> where
MODE: Unpin,
impl<MODE> UnwindSafe for PF1<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