#[repr(transparent)]pub struct ChPri(pub u32);Expand description
Channel Priority.
Tuple Fields§
§0: u32Implementations§
Source§impl ChPri
impl ChPri
Sourcepub const fn dpa(&self) -> bool
pub const fn dpa(&self) -> bool
Disable Preempt Ability. Raw bit values: false (0) = Suspend: Channel can suspend a lower-priority channel.; true (1) = CannotSuspend: Channel cannot suspend any other channel, regardless of channel priority.
Sourcepub const fn set_dpa(&mut self, val: bool)
pub const fn set_dpa(&mut self, val: bool)
Disable Preempt Ability. Raw bit values: false (0) = Suspend: Channel can suspend a lower-priority channel.; true (1) = CannotSuspend: Channel cannot suspend any other channel, regardless of channel priority.
Trait Implementations§
impl Copy for ChPri
impl Eq for ChPri
impl StructuralPartialEq for ChPri
Auto Trait Implementations§
impl Freeze for ChPri
impl RefUnwindSafe for ChPri
impl Send for ChPri
impl Sync for ChPri
impl Unpin for ChPri
impl UnwindSafe for ChPri
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