#[repr(transparent)]pub struct Modecfg(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.23; manual text line 172444.
Tuple Fields§
§0: u16Implementations§
Source§impl Modecfg
impl Modecfg
Sourcepub const fn lclwkena(&self) -> bool
pub const fn lclwkena(&self) -> bool
Enable wake-up to WAITINIT mode by local-wake-event. 0b - Disable 1b - Enable
Sourcepub const fn set_lclwkena(&mut self, val: bool)
pub const fn set_lclwkena(&mut self, val: bool)
Enable wake-up to WAITINIT mode by local-wake-event. 0b - Disable 1b - Enable
Sourcepub const fn remwkena(&self) -> bool
pub const fn remwkena(&self) -> bool
Enable wake-up to WAITINIT mode by remote-wake-event. 0b - Disable 1b - Enable
Sourcepub const fn set_remwkena(&mut self, val: bool)
pub const fn set_remwkena(&mut self, val: bool)
Enable wake-up to WAITINIT mode by remote-wake-event. 0b - Disable 1b - Enable
Sourcepub const fn sspwkena(&self) -> bool
pub const fn sspwkena(&self) -> bool
Enable wake-up to WAITINIT mode by SUSPEND detection. 0b - Disable 1b - Enable
Sourcepub const fn set_sspwkena(&mut self, val: bool)
pub const fn set_sspwkena(&mut self, val: bool)
Enable wake-up to WAITINIT mode by SUSPEND detection. 0b - Disable 1b - Enable
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