pub trait ExternalInterruptController {
type Line;
// Required methods
fn line_enable(&self, line: &Self::Line, interrupt_mode: InterruptMode);
fn line_disable(&self, line: &Self::Line);
}
Expand description
Interface for EIC.
Required Associated Types§
Required Methods§
Sourcefn line_enable(&self, line: &Self::Line, interrupt_mode: InterruptMode)
fn line_enable(&self, line: &Self::Line, interrupt_mode: InterruptMode)
Enables external interrupt on the given ‘line’ In asynchronous mode, all edge interrupts will be interpreted as level interrupts and the filter is disabled.
Sourcefn line_disable(&self, line: &Self::Line)
fn line_disable(&self, line: &Self::Line)
Disables external interrupt on the given ‘line’