Enum nrf52840_pac::wdt::config::SLEEP_A
source · pub enum SLEEP_A {
PAUSE = 0,
RUN = 1,
}
Expand description
Configure the watchdog to either be paused, or kept running, while the CPU is sleeping
Value on reset: 1
Variants§
PAUSE = 0
0: Pause watchdog while the CPU is sleeping
RUN = 1
1: Keep the watchdog running while the CPU is sleeping
Trait Implementations§
impl Copy for SLEEP_A
impl StructuralPartialEq for SLEEP_A
Auto Trait Implementations§
impl Freeze for SLEEP_A
impl RefUnwindSafe for SLEEP_A
impl Send for SLEEP_A
impl Sync for SLEEP_A
impl Unpin for SLEEP_A
impl UnwindSafe for SLEEP_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)