Type Alias nrf52840_pac::wdt::config::SLEEP_R

source ·
pub type SLEEP_R = BitReader<SLEEP_A>;
Expand description

Field SLEEP reader - Configure the watchdog to either be paused, or kept running, while the CPU is sleeping

Aliased Type§

struct SLEEP_R { /* private fields */ }

Implementations§

source§

impl SLEEP_R

source

pub fn variant(&self) -> SLEEP_A

Get enumerated values variant

source

pub fn is_pause(&self) -> bool

Checks if the value of the field is PAUSE

source

pub fn is_run(&self) -> bool

Checks if the value of the field is RUN