nrf52840_pac::power::resetreas

# Type Alias LPCOMP_R

Source

    pub type LPCOMP_R = BitReader<LPCOMP_A>;

Expand description

Field `LPCOMP` reader - Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP

## Aliased Type§

    struct LPCOMP_R { /* private fields */ }

## Implementations§

Source§

### impl LPCOMP_R

Source

#### pub fn variant(&self) -> LPCOMP_A

Get enumerated values variant

Source

#### pub fn is_not_detected(&self) -> bool

Checks if the value of the field is `NOT_DETECTED`

Source

#### pub fn is_detected(&self) -> bool

Checks if the value of the field is `DETECTED`