[][src]Trait kernel::hil::eic::ExternalInterruptController

pub trait ExternalInterruptController {
    type Line;
    fn line_enable(&self, line: &Self::Line, interrupt_mode: InterruptMode);
fn line_disable(&self, line: &Self::Line); }

Interface for EIC.

Associated Types

type Line

The chip-dependent type of an EIC line. Number of lines available depends on the chip.

Loading content...

Required methods

fn line_enable(&self, line: &Self::Line, interrupt_mode: InterruptMode)

Enables external interrupt on the given 'line' In asychronous mode, all edge interrupts will be interpreted as level interrupts and the filter is disabled.

fn line_disable(&self, line: &Self::Line)

Disables external interrupt on the given 'line'

Loading content...

Implementors

Loading content...