[][src]Type Definition nrf51::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 AIRCR.SYSRESETREQ 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 from wake-up from OFF mode detected by the use of DETECT signal from GPIO.

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

Bit 17 - Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP.

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

Bit 18 - Reset from wake-up from OFF mode detected by entering into debug interface mode.