[][src]Type Definition nrf51::power::resetreas::W

type W = W<u32, RESETREAS>;

Writer for register RESETREAS

Methods

impl W[src]

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

Bit 0 - Reset from pin-reset detected.

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

Bit 1 - Reset from watchdog detected.

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

Bit 2 - Reset from AIRCR.SYSRESETREQ detected.

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

Bit 3 - Reset from CPU lock-up detected.

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

Bit 16 - Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO.

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

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

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

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