Enum gd32f1x0_hal::pac::dbg::ctl0::SLP_HOLD_A
source · [−]pub enum SLP_HOLD_A {
DISABLED,
ENABLED,
}
Expand description
Sleep mode hold register
Value on reset: 0
Variants
DISABLED
0: No effect
ENABLED
1: In sleep mode the AHB clock is on
Trait Implementations
sourceimpl Clone for SLP_HOLD_A
impl Clone for SLP_HOLD_A
sourcefn clone(&self) -> SLP_HOLD_A
fn clone(&self) -> SLP_HOLD_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SLP_HOLD_A
impl Debug for SLP_HOLD_A
sourceimpl PartialEq<SLP_HOLD_A> for SLP_HOLD_A
impl PartialEq<SLP_HOLD_A> for SLP_HOLD_A
impl Copy for SLP_HOLD_A
impl StructuralPartialEq for SLP_HOLD_A
Auto Trait Implementations
impl RefUnwindSafe for SLP_HOLD_A
impl Send for SLP_HOLD_A
impl Sync for SLP_HOLD_A
impl Unpin for SLP_HOLD_A
impl UnwindSafe for SLP_HOLD_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more