Trait chipset_device::interrupt::LineInterruptTarget

source ·
pub trait LineInterruptTarget {
    // Required methods
    fn set_irq(&mut self, vector: u32, high: bool);
    fn valid_lines(&self) -> &[RangeInclusive<u32>];
}
Expand description

A device that can act as a target for a line interrupt.

Required Methods§

source

fn set_irq(&mut self, vector: u32, high: bool)

Set an interrupt line state.

source

fn valid_lines(&self) -> &[RangeInclusive<u32>]

Returns the valid vector ranges for this target.

Implementors§