#[repr(transparent)]pub struct Modcfg(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Modcfg
impl Modcfg
Sourcepub const fn multitask(&self) -> bool
pub const fn multitask(&self) -> bool
Operating mode for STAT.INUSE and IDLE_CH. Raw bit values: false (0) = HARDWARE_STATUS: Hardware status mode.; true (1) = MULTITASK: Multitask mode.
Sourcepub const fn set_multitask(&mut self, val: bool)
pub const fn set_multitask(&mut self, val: bool)
Operating mode for STAT.INUSE and IDLE_CH. Raw bit values: false (0) = HARDWARE_STATUS: Hardware status mode.; true (1) = MULTITASK: Multitask mode.
Trait Implementations§
impl Copy for Modcfg
impl Eq for Modcfg
impl StructuralPartialEq for Modcfg
Auto Trait Implementations§
impl Freeze for Modcfg
impl RefUnwindSafe for Modcfg
impl Send for Modcfg
impl Sync for Modcfg
impl Unpin for Modcfg
impl UnwindSafe for Modcfg
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