#[repr(transparent)]pub struct Modecfg(pub u16);Expand description
Mode Configuration
Tuple Fields§
§0: u16Implementations§
Source§impl Modecfg
impl Modecfg
Sourcepub const fn set_lclwkena(&mut self, val: Lclwkena)
pub const fn set_lclwkena(&mut self, val: Lclwkena)
Enable wake-up to WAITINIT mode by local-wake-event
Sourcepub const fn set_remwkena(&mut self, val: Remwkena)
pub const fn set_remwkena(&mut self, val: Remwkena)
Enable wake-up to WAITINIT mode by remote-wake-event
Sourcepub const fn set_sspwkena(&mut self, val: Sspwkena)
pub const fn set_sspwkena(&mut self, val: Sspwkena)
Enable wake-up to WAITINIT mode by SUSPEND detection
Trait Implementations§
impl Copy for Modecfg
impl Eq for Modecfg
impl StructuralPartialEq for Modecfg
Auto Trait Implementations§
impl Freeze for Modecfg
impl RefUnwindSafe for Modecfg
impl Send for Modecfg
impl Sync for Modecfg
impl Unpin for Modecfg
impl UnwindSafe for Modecfg
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