Trait r3_port_arm::Gic

source ·
pub unsafe trait Gic {
    fn num_interrupt_lines() -> InterruptNum { ... }
    fn set_interrupt_line_trigger_mode(
        num: InterruptNum,
        mode: InterruptLineTriggerMode
    ) -> Result<(), SetInterruptLineTriggerModeError> { ... } }
Expand description

Provides access to a system-global GIC instance. Implemented by use_gic!.

Safety

This trait is not intended to be implemented in any other means.

Provided Methods

Get the number of supported interrupt lines.

Set the trigger mode of the specified interrupt line.

Implementors