Enum embassy_stm32::interrupt::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
1.21.0 ยท sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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
)