Trait InterfaceCPU

Source
pub trait InterfaceCPU: Send + Sync {
    // Required methods
    fn get_and_acknowledge_interrupt(&self) -> Option<IrqId>;
    fn end_interrupt(&self, irq: IrqId);
}
Expand description

在中断中调用,不会被打断,视为Sync

Required Methods§

Implementors§