pub enum RtcEn {
Disable = 0,
Enable = 1,
}Expand description
RTC enable.
Value on reset: 0
Variants§
Disable = 0
0: Disable. The RTC 1 Hz and 1 kHz clocks are shut down and the RTC operation is disabled. This bit should be 0 when writing to load a value in the RTC counter register.
Enable = 1
1: Enable. The 1 Hz RTC clock is running and RTC operation is enabled. This bit must be set to initiate operation of the RTC. The first clock to the RTC counter occurs 1 s after this bit is set. To also enable the high-resolution, 1 kHz clock, set bit 6 in this register.
Trait Implementations§
impl Copy for RtcEn
impl Eq for RtcEn
impl StructuralPartialEq for RtcEn
Auto Trait Implementations§
impl Freeze for RtcEn
impl RefUnwindSafe for RtcEn
impl Send for RtcEn
impl Sync for RtcEn
impl Unpin for RtcEn
impl UnwindSafe for RtcEn
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