pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn nodpd(&mut self) -> _NODPDW<'_>
pub fn nodpd(&mut self) -> _NODPDW<'_>
Bit 3 - A 1 in this bit prevents entry to Deep power-down mode when 0x3 is written to the PM field above, the SLEEPDEEP bit is set, and a WFI is executed. Execution continues after the WFI if this bit is 1. This bit is cleared only by power-on reset, so writing a one to this bit locks the part in a mode in which Deep power-down mode is blocked.
sourcepub fn sleepflag(&mut self) -> _SLEEPFLAGW<'_>
pub fn sleepflag(&mut self) -> _SLEEPFLAGW<'_>
Bit 8 - Sleep mode flag