Struct nrf52840::power::resetreas::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn resetpin(&mut self) -> _RESETPINW
[src]
pub fn resetpin(&mut self) -> _RESETPINW
Bit 0 - Reset from pin-reset detected
pub fn dog(&mut self) -> _DOGW
[src]
pub fn dog(&mut self) -> _DOGW
Bit 1 - Reset from watchdog detected
pub fn sreq(&mut self) -> _SREQW
[src]
pub fn sreq(&mut self) -> _SREQW
Bit 2 - Reset from soft reset detected
pub fn lockup(&mut self) -> _LOCKUPW
[src]
pub fn lockup(&mut self) -> _LOCKUPW
Bit 3 - Reset from CPU lock-up detected
pub fn off(&mut self) -> _OFFW
[src]
pub fn off(&mut self) -> _OFFW
Bit 16 - Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO
pub fn lpcomp(&mut self) -> _LPCOMPW
[src]
pub fn lpcomp(&mut self) -> _LPCOMPW
Bit 17 - Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP
pub fn dif(&mut self) -> _DIFW
[src]
pub fn dif(&mut self) -> _DIFW
Bit 18 - Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode
pub fn nfc(&mut self) -> _NFCW
[src]
pub fn nfc(&mut self) -> _NFCW
Bit 19 - Reset due to wake up from System OFF mode by NFC field detect
pub fn vbus(&mut self) -> _VBUSW
[src]
pub fn vbus(&mut self) -> _VBUSW
Bit 20 - Reset due to wake up from System OFF mode by VBUS rising into valid range