Struct tm4c123x_hal::gpio::gpiof::PFx
source · pub struct PFx<MODE> { /* private fields */ }
Expand description
Partially erased pin
Implementations
sourceimpl<MODE> PFx<Input<MODE>>where
MODE: InputMode,
impl<MODE> PFx<Input<MODE>>where
MODE: InputMode,
sourcepub fn set_interrupt_mode(&mut self, mode: InterruptMode)
pub fn set_interrupt_mode(&mut self, mode: InterruptMode)
Enables or disables interrupts on this GPIO pin.
sourcepub fn clear_interrupt(&self)
pub fn clear_interrupt(&self)
Marks the interrupt for this pin as handled. You should call this (or perform its functionality) from the ISR.
Trait Implementations
sourceimpl<MODE> InputPin for PFx<Input<MODE>>where
MODE: InputMode,
impl<MODE> InputPin for PFx<Input<MODE>>where
MODE: InputMode,
sourceimpl<MODE> OutputPin for PFx<Output<MODE>>where
MODE: OutputMode,
impl<MODE> OutputPin for PFx<Output<MODE>>where
MODE: OutputMode,
sourceimpl<MODE> StatefulOutputPin for PFx<Output<MODE>>where
MODE: OutputMode,
impl<MODE> StatefulOutputPin for PFx<Output<MODE>>where
MODE: OutputMode,
sourcefn is_set_high(&self) -> bool
fn is_set_high(&self) -> bool
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive high mode? Read more
sourcefn is_set_low(&self) -> bool
fn is_set_low(&self) -> bool
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive low mode? Read more
Auto Trait Implementations
impl<MODE> RefUnwindSafe for PFx<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PFx<MODE>where
MODE: Send,
impl<MODE> Sync for PFx<MODE>where
MODE: Sync,
impl<MODE> Unpin for PFx<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PFx<MODE>where
MODE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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