[−][src]Struct nrf52840_hal::target::power::resetreas::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn resetpin(&self) -> RESETPINR
[src]
Bit 0 - Reset from pin-reset detected
pub fn dog(&self) -> DOGR
[src]
Bit 1 - Reset from watchdog detected
pub fn sreq(&self) -> SREQR
[src]
Bit 2 - Reset from soft reset detected
pub fn lockup(&self) -> LOCKUPR
[src]
Bit 3 - Reset from CPU lock-up detected
pub fn off(&self) -> OFFR
[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) -> LPCOMPR
[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) -> DIFR
[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) -> NFCR
[src]
Bit 19 - Reset due to wake up from System OFF mode by NFC field detect
pub fn vbus(&self) -> VBUSR
[src]
Bit 20 - Reset due to wake up from System OFF mode by VBUS rising into valid range
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self