pub struct RTC_EN_W<'a> { /* private fields */ }
Expand description
Field RTC_EN
writer - RTC enable.
Implementations
sourceimpl<'a> RTC_EN_W<'a>
impl<'a> RTC_EN_W<'a>
sourcepub fn disable(self) -> &'a mut W
pub fn disable(self) -> &'a mut W
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.
sourcepub fn enable(self) -> &'a mut W
pub fn enable(self) -> &'a mut W
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.
Auto Trait Implementations
impl<'a> RefUnwindSafe for RTC_EN_W<'a>
impl<'a> Send for RTC_EN_W<'a>
impl<'a> Sync for RTC_EN_W<'a>
impl<'a> Unpin for RTC_EN_W<'a>
impl<'a> !UnwindSafe for RTC_EN_W<'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