nrf52840_pac::power::resetreas

# Type Alias OFF_R

Source

    pub type OFF_R = BitReader<OFF_A>;

Expand description

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

## Aliased Type§

    struct OFF_R { /* private fields */ }

## Implementations§

Source§

### impl OFF_R

Source

#### pub fn variant(&self) -> OFF_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`