pub struct PA<MODE> { /* private fields */ }
Expand description
Partially erased pin
Implementations§
Trait Implementations§
Source§impl<MODE> ExtiPin for PA<Input<MODE>>
impl<MODE> ExtiPin for PA<Input<MODE>>
Source§fn make_interrupt_source(&mut self, syscfg: &mut SYSCFG)
fn make_interrupt_source(&mut self, syscfg: &mut SYSCFG)
Make corresponding EXTI line sensitive to this pin
Source§fn trigger_on_edge(&mut self, exti: &mut EXTI, edge: Edge)
fn trigger_on_edge(&mut self, exti: &mut EXTI, edge: Edge)
Generate interrupt on rising edge, falling edge or both
Source§fn enable_interrupt(&mut self, exti: &mut EXTI)
fn enable_interrupt(&mut self, exti: &mut EXTI)
Enable external interrupts from this pin.
Source§fn disable_interrupt(&mut self, exti: &mut EXTI)
fn disable_interrupt(&mut self, exti: &mut EXTI)
Disable external interrupts from this pin
Source§fn clear_interrupt_pending_bit(&mut self, exti: &mut EXTI)
fn clear_interrupt_pending_bit(&mut self, exti: &mut EXTI)
Clear the interrupt pending bit for this pin
Source§impl<MODE> InputPin for PA<Input<MODE>>
impl<MODE> InputPin for PA<Input<MODE>>
Source§impl<MODE> InputPin for PA<Output<MODE>>
impl<MODE> InputPin for PA<Output<MODE>>
Source§impl<MODE> OutputPin for PA<Output<MODE>>
impl<MODE> OutputPin for PA<Output<MODE>>
Source§impl<MODE> StatefulOutputPin for PA<Output<MODE>>
impl<MODE> StatefulOutputPin for PA<Output<MODE>>
Source§fn 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
Source§fn 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
impl<MODE> Default for PA<Output<MODE>>
Auto Trait Implementations§
impl<MODE> Freeze for PA<MODE>
impl<MODE> RefUnwindSafe for PA<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PA<MODE>where
MODE: Send,
impl<MODE> Sync for PA<MODE>where
MODE: Sync,
impl<MODE> Unpin for PA<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PA<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