#[repr(u32)]pub enum CpuInterrupt {
Show 32 variants
Interrupt0LevelPriority1 = 0,
Interrupt1LevelPriority1 = 1,
Interrupt2LevelPriority1 = 2,
Interrupt3LevelPriority1 = 3,
Interrupt4LevelPriority1 = 4,
Interrupt5LevelPriority1 = 5,
Interrupt6Timer0Priority1 = 6,
Interrupt7SoftwarePriority1 = 7,
Interrupt8LevelPriority1 = 8,
Interrupt9LevelPriority1 = 9,
Interrupt10EdgePriority1 = 10,
Interrupt11ProfilingPriority3 = 11,
Interrupt12LevelPriority1 = 12,
Interrupt13LevelPriority1 = 13,
Interrupt14NmiPriority7 = 14,
Interrupt15Timer1Priority3 = 15,
Interrupt16Timer2Priority5 = 16,
Interrupt17LevelPriority1 = 17,
Interrupt18LevelPriority1 = 18,
Interrupt19LevelPriority2 = 19,
Interrupt20LevelPriority2 = 20,
Interrupt21LevelPriority2 = 21,
Interrupt22EdgePriority3 = 22,
Interrupt23LevelPriority3 = 23,
Interrupt24LevelPriority4 = 24,
Interrupt25LevelPriority4 = 25,
Interrupt26LevelPriority5 = 26,
Interrupt27LevelPriority3 = 27,
Interrupt28EdgePriority4 = 28,
Interrupt29SoftwarePriority3 = 29,
Interrupt30EdgePriority4 = 30,
Interrupt31EdgePriority5 = 31,
}
unstable
only.Expand description
Enumeration of available CPU interrupts
It’s possible to create one handler per priority level. (e.g
level1_interrupt
)
Variants§
Interrupt0LevelPriority1 = 0
Level-triggered interrupt with priority 1.
Interrupt1LevelPriority1 = 1
Level-triggered interrupt with priority 1.
Interrupt2LevelPriority1 = 2
Level-triggered interrupt with priority 1.
Interrupt3LevelPriority1 = 3
Level-triggered interrupt with priority 1.
Interrupt4LevelPriority1 = 4
Level-triggered interrupt with priority 1.
Interrupt5LevelPriority1 = 5
Level-triggered interrupt with priority 1.
Interrupt6Timer0Priority1 = 6
Timer 0 interrupt with priority 1.
Interrupt7SoftwarePriority1 = 7
Software-triggered interrupt with priority 1.
Interrupt8LevelPriority1 = 8
Level-triggered interrupt with priority 1.
Interrupt9LevelPriority1 = 9
Level-triggered interrupt with priority 1.
Interrupt10EdgePriority1 = 10
Edge-triggered interrupt with priority 1.
Interrupt11ProfilingPriority3 = 11
Profiling-related interrupt with priority 3.
Interrupt12LevelPriority1 = 12
Level-triggered interrupt with priority 1.
Interrupt13LevelPriority1 = 13
Level-triggered interrupt with priority 1.
Interrupt14NmiPriority7 = 14
Non-maskable interrupt (NMI) with priority 7.
Interrupt15Timer1Priority3 = 15
Timer 1 interrupt with priority 3.
Interrupt16Timer2Priority5 = 16
Timer 2 interrupt with priority 5.
Interrupt17LevelPriority1 = 17
Level-triggered interrupt with priority 1.
Interrupt18LevelPriority1 = 18
Level-triggered interrupt with priority 1.
Interrupt19LevelPriority2 = 19
Level-triggered interrupt with priority 2.
Interrupt20LevelPriority2 = 20
Level-triggered interrupt with priority 2.
Interrupt21LevelPriority2 = 21
Level-triggered interrupt with priority 2.
Interrupt22EdgePriority3 = 22
Edge-triggered interrupt with priority 3.
Interrupt23LevelPriority3 = 23
Level-triggered interrupt with priority 3.
Interrupt24LevelPriority4 = 24
Level-triggered interrupt with priority 4.
Interrupt25LevelPriority4 = 25
Level-triggered interrupt with priority 4.
Interrupt26LevelPriority5 = 26
Level-triggered interrupt with priority 5.
Interrupt27LevelPriority3 = 27
Level-triggered interrupt with priority 3.
Interrupt28EdgePriority4 = 28
Edge-triggered interrupt with priority 4.
Interrupt29SoftwarePriority3 = 29
Software-triggered interrupt with priority 3.
Interrupt30EdgePriority4 = 30
Edge-triggered interrupt with priority 4.
Interrupt31EdgePriority5 = 31
Edge-triggered interrupt with priority 5.
Trait Implementations§
Source§impl Clone for CpuInterrupt
impl Clone for CpuInterrupt
Source§fn clone(&self) -> CpuInterrupt
fn clone(&self) -> CpuInterrupt
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CpuInterrupt
impl Debug for CpuInterrupt
impl Copy for CpuInterrupt
Auto Trait Implementations§
impl Freeze for CpuInterrupt
impl RefUnwindSafe for CpuInterrupt
impl Send for CpuInterrupt
impl Sync for CpuInterrupt
impl Unpin for CpuInterrupt
impl UnwindSafe for CpuInterrupt
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit
)