#[repr(u8)]pub enum Priority {
P0 = 0,
P1 = 32,
P2 = 64,
P3 = 96,
P4 = 128,
P5 = 160,
P6 = 192,
P7 = 224,
}
Expand description
The interrupt priority level.
NOTE: The contents of this enum differ according to the set prio-bits-*
Cargo feature.
Variants§
Trait Implementations§
Source§impl Ord for Priority
impl Ord for Priority
Source§impl PartialOrd for Priority
impl PartialOrd for Priority
impl Copy for Priority
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more