#[repr(u8)]pub enum Priority {
Show 16 variants
P0 = 0,
P1 = 16,
P2 = 32,
P3 = 48,
P4 = 64,
P5 = 80,
P6 = 96,
P7 = 112,
P8 = 128,
P9 = 144,
P10 = 160,
P11 = 176,
P12 = 192,
P13 = 208,
P14 = 224,
P15 = 240,
}
Expand description
The interrupt priority level.
NOTE: The contents of this enum differ according to the set prio-bits-*
Cargo feature.
Variants§
P0 = 0
P1 = 16
P2 = 32
P3 = 48
P4 = 64
P5 = 80
P6 = 96
P7 = 112
P8 = 128
P9 = 144
P10 = 160
P11 = 176
P12 = 192
P13 = 208
P14 = 224
P15 = 240
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