Struct lpc55_pac::rtc::ctrl::RTC1KHZ_EN_W [−][src]
pub struct RTC1KHZ_EN_W<'a> { /* fields omitted */ }
Field RTC1KHZ_EN
writer - RTC 1 kHz clock enable. This bit can be set to 0 to conserve power if the 1 kHz timer is not used. This bit has no effect when the RTC is disabled (bit 7 of this register is 0).
Implementations
impl<'a> RTC1KHZ_EN_W<'a>
[src]
impl<'a> RTC1KHZ_EN_W<'a>
[src]pub fn variant(self, variant: RTC1KHZ_EN_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disable(self) -> &'a mut W
[src]
Disable. A match on the 1 kHz RTC timer will not bring the part out of Deep power-down mode.
pub fn enable(self) -> &'a mut W
[src]
Enable. The 1 kHz RTC timer is enabled.
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
impl<'a> Send for RTC1KHZ_EN_W<'a>
impl<'a> Send for RTC1KHZ_EN_W<'a>
impl<'a> Sync for RTC1KHZ_EN_W<'a>
impl<'a> Sync for RTC1KHZ_EN_W<'a>
impl<'a> Unpin for RTC1KHZ_EN_W<'a>
impl<'a> Unpin for RTC1KHZ_EN_W<'a>