pub trait ExtiPin {
    fn make_interrupt_source(&mut self, syscfg: &mut SysCfg);
    fn trigger_on_edge(&mut self, exti: &mut EXTI, level: Edge);
    fn enable_interrupt(&mut self, exti: &mut EXTI);
    fn disable_interrupt(&mut self, exti: &mut EXTI);
    fn clear_interrupt_pending_bit(&mut self);
    fn check_interrupt(&self) -> bool;
Expand description

External Interrupt Pin

Required Methods

Make corresponding EXTI line sensitive to this pin

Generate interrupt on rising edge, falling edge or both

Enable external interrupts from this pin.

Disable external interrupts from this pin

Clear the interrupt pending bit for this pin

Reads the interrupt pending bit for this pin