[−][src]Struct lpc55s6x_pac::rtc::ctrl::_RTC_ENW
Proxy
Methods
impl<'a> _RTC_ENW<'a>
[src][−]
pub fn variant(self, variant: RTC_ENW) -> &'a mut W
[src][−]
Writes variant
to the field
pub fn disable(self) -> &'a mut W
[src][−]
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.
pub fn enable(self) -> &'a mut W
[src][−]
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.
pub fn set_bit(self) -> &'a mut W
[src][−]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src][−]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src][−]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self