Enum nrf52832_pac::wdt::config::SLEEPR
source · pub enum SLEEPR {
PAUSE,
RUN,
}
Expand description
Possible values of the field SLEEP
Variants§
PAUSE
Pause watchdog while the CPU is sleeping
RUN
Keep the watchdog running while the CPU is sleeping
Implementations§
source§impl SLEEPR
impl SLEEPR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)