andes_riscv::plic

Trait PlicExt

Source
pub trait PlicExt {
    // Required methods
    unsafe fn enable_vectored_mode(&self);
    unsafe fn enable_preemptive_mode(&self);
    fn threshold(&self) -> u32;
    fn set_threshold(&self, threshold: u32);
    fn claim(&self) -> u16;
    fn complete(&self, id: u16);
}

Required Methods§

Source

unsafe fn enable_vectored_mode(&self)

Source

unsafe fn enable_preemptive_mode(&self)

Source

fn threshold(&self) -> u32

Source

fn set_threshold(&self, threshold: u32)

Source

fn claim(&self) -> u16

Source

fn complete(&self, id: u16)

Implementors§