#[repr(transparent)]pub struct Priority(pub u32);
Expand description
no description available.
Tuple Fields§
§0: u32
Implementations§
Source§impl Priority
impl Priority
Sourcepub const fn priority(&self) -> u32
pub const fn priority(&self) -> u32
Interrupt source priority. The valid range of this field is 0-7. 0: Never interrupt 1-7: Interrupt source priority. The larger the value, the higher the priority.
Sourcepub fn set_priority(&mut self, val: u32)
pub fn set_priority(&mut self, val: u32)
Interrupt source priority. The valid range of this field is 0-7. 0: Never interrupt 1-7: Interrupt source priority. The larger the value, the higher the priority.
Trait Implementations§
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