pub enum Rx {
None(NoPin<PushPull>),
PA11(PA11<Alternate<9, PushPull>>),
PB8(PB8<Alternate<9, PushPull>>),
PD0(PD0<Alternate<9, PushPull>>),
PI9(PI9<Alternate<9, PushPull>>),
}
Variants§
None(NoPin<PushPull>)
PA11(PA11<Alternate<9, PushPull>>)
PB8(PB8<Alternate<9, PushPull>>)
PD0(PD0<Alternate<9, PushPull>>)
PI9(PI9<Alternate<9, PushPull>>)
Trait Implementations§
Source§impl ExtiPin for Rx
impl ExtiPin for Rx
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, _level: Edge)
fn trigger_on_edge(&mut self, _exti: &mut EXTI, _level: 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)
fn clear_interrupt_pending_bit(&mut self)
Clear the interrupt pending bit for this pin
Source§fn check_interrupt(&self) -> bool
fn check_interrupt(&self) -> bool
Reads the interrupt pending bit for this pin
Source§impl PinPull for Rx
impl PinPull for Rx
Source§fn set_internal_resistor(&mut self, _pull: Pull)
fn set_internal_resistor(&mut self, _pull: Pull)
Set the internal pull-up and pull-down resistor
fn internal_resistor(self, resistor: Pull) -> Self
Auto Trait Implementations§
impl Freeze for Rx
impl RefUnwindSafe for Rx
impl Send for Rx
impl Sync for Rx
impl Unpin for Rx
impl UnwindSafe for Rx
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