Trait slos_hal::SystemCpu[][src]

pub trait SystemCpu {
    fn interrupts_disable(&mut self);
fn interrupts_enable(&mut self);
fn interrupts_are_enabled(&self) -> bool;
fn halt(&mut self); }
Expand description

System CPU handling

Required methods

Disable interrupts on the current CPU

Enable interrupts on the current CPU

Return whether interrupts are enabled on the current CPU

Halt the current CPU

Implementors