[][src]Type Definition nrf52840_pac::power::resetreas::R

type R = R<u32, RESETREAS>;

Reader of register RESETREAS

Methods

impl R[src]

pub fn resetpin(&self) -> RESETPIN_R[src]

Bit 0 - Reset from pin-reset detected

pub fn dog(&self) -> DOG_R[src]

Bit 1 - Reset from watchdog detected

pub fn sreq(&self) -> SREQ_R[src]

Bit 2 - Reset from soft reset detected

pub fn lockup(&self) -> LOCKUP_R[src]

Bit 3 - Reset from CPU lock-up detected

pub fn off(&self) -> OFF_R[src]

Bit 16 - Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO

pub fn lpcomp(&self) -> LPCOMP_R[src]

Bit 17 - Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP

pub fn dif(&self) -> DIF_R[src]

Bit 18 - Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode

pub fn nfc(&self) -> NFC_R[src]

Bit 19 - Reset due to wake up from System OFF mode by NFC field detect

pub fn vbus(&self) -> VBUS_R[src]

Bit 20 - Reset due to wake up from System OFF mode by VBUS rising into valid range