#[repr(transparent)]pub struct Wupcfg(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.28; manual text line 172722.
Tuple Fields§
§0: u16Implementations§
Source§impl Wupcfg
impl Wupcfg
Sourcepub const fn lclwkwup(&self) -> bool
pub const fn lclwkwup(&self) -> bool
Enable WUP transmission by local-wake-event. 0b - Disabled 1b - Enabled
Sourcepub const fn set_lclwkwup(&mut self, val: bool)
pub const fn set_lclwkwup(&mut self, val: bool)
Enable WUP transmission by local-wake-event. 0b - Disabled 1b - Enabled
Sourcepub const fn wuptimeout(&self) -> u8
pub const fn wuptimeout(&self) -> u8
Wakeup Timeout. Configures the WUP time-out timer: WUP time-out = (WUPTIMEOUT + 1) * 10ms
Sourcepub const fn set_wuptimeout(&mut self, val: u8)
pub const fn set_wuptimeout(&mut self, val: u8)
Wakeup Timeout. Configures the WUP time-out timer: WUP time-out = (WUPTIMEOUT + 1) * 10ms
Trait Implementations§
impl Copy for Wupcfg
impl Eq for Wupcfg
impl StructuralPartialEq for Wupcfg
Auto Trait Implementations§
impl Freeze for Wupcfg
impl RefUnwindSafe for Wupcfg
impl Send for Wupcfg
impl Sync for Wupcfg
impl Unpin for Wupcfg
impl UnwindSafe for Wupcfg
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