[−][src]Trait stm32l0xx_hal::exti::ExtiExt
Required methods
fn listen(&self, syscfg: &mut SYSCFG, port: Port, line: u8, edge: TriggerEdge)
fn unlisten(&self, line: u8)
fn pend_interrupt(&self, line: u8)
fn clear_irq(&self, line: u8)
fn get_pending_irq(&self) -> u32
fn wait_for_irq<M>(&mut self, line: u8, power_mode: M) where
M: PowerMode,
M: PowerMode,
Implementors
impl ExtiExt for EXTI
[src]
fn listen(&self, syscfg: &mut SYSCFG, port: Port, line: u8, edge: TriggerEdge)
[src]
fn unlisten(&self, line: u8)
[src]
fn pend_interrupt(&self, line: u8)
[src]
fn get_pending_irq(&self) -> u32
[src]
fn clear_irq(&self, line: u8)
[src]
fn wait_for_irq<M>(&mut self, line: u8, power_mode: M) where
M: PowerMode,
[src]
M: PowerMode,
Enters a low-power mode until an interrupt occurs
Please note that this method will return after any interrupt that can wake up the microcontroller from the given power mode.
Panics
Panics, if line
is not between 0 and 15 (inclusive).