Enum embassy_hal_internal::interrupt::Priority
source · #[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 PartialEq for Priority
impl PartialEq for Priority
source§impl PartialOrd for Priority
impl PartialOrd for Priority
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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