Enum Priority
#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)