Add thread_sleep
This commit is contained in:
@ -29,9 +29,13 @@ impl Interrupt {
|
||||
self.level
|
||||
}
|
||||
|
||||
pub fn idle(&self) {
|
||||
todo!();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Clone, Copy)]
|
||||
#[derive(PartialEq, Clone, Copy, Debug)]
|
||||
pub enum InterruptStatus {
|
||||
InterruptOff,
|
||||
InterruptOn
|
||||
|
Reference in New Issue
Block a user