pub enum RTC_OSC_PD_A {
ENABLE = 0,
SHUT_OFF = 1,
}Expand description
The RTC Oscillator Enable
Value on reset: 1
Variants§
ENABLE = 0
0: Enable. The RTC oscillator is enabled. RTC_OSC_PD must be cleared for the RTC module to function.
SHUT_OFF = 1
1: Shut Off. The RTC operation is disabled. The RTC oscillator is shut-off to limit power consumption.
Trait Implementations§
Source§impl Clone for RTC_OSC_PD_A
impl Clone for RTC_OSC_PD_A
Source§fn clone(&self) -> RTC_OSC_PD_A
fn clone(&self) -> RTC_OSC_PD_A
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RTC_OSC_PD_A
Source§impl Debug for RTC_OSC_PD_A
impl Debug for RTC_OSC_PD_A
impl Eq for RTC_OSC_PD_A
Source§impl From<RTC_OSC_PD_A> for bool
impl From<RTC_OSC_PD_A> for bool
Source§fn from(variant: RTC_OSC_PD_A) -> Self
fn from(variant: RTC_OSC_PD_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RTC_OSC_PD_A
impl PartialEq for RTC_OSC_PD_A
impl StructuralPartialEq for RTC_OSC_PD_A
Auto Trait Implementations§
impl Freeze for RTC_OSC_PD_A
impl RefUnwindSafe for RTC_OSC_PD_A
impl Send for RTC_OSC_PD_A
impl Sync for RTC_OSC_PD_A
impl Unpin for RTC_OSC_PD_A
impl UnsafeUnpin for RTC_OSC_PD_A
impl UnwindSafe for RTC_OSC_PD_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