[][src]Struct lpc55s6x_pac::rtc::ctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn swreset(&mut self) -> _SWRESETW[src]

Bit 0 - Software reset control

pub fn alarm1hz(&mut self) -> _ALARM1HZW[src]

Bit 2 - RTC 1 Hz timer alarm flag status.

pub fn wake1khz(&mut self) -> _WAKE1KHZW[src]

Bit 3 - RTC 1 kHz timer wake-up flag status.

pub fn alarmdpd_en(&mut self) -> _ALARMDPD_ENW[src]

Bit 4 - RTC 1 Hz timer alarm enable for Deep power-down.

pub fn wakedpd_en(&mut self) -> _WAKEDPD_ENW[src]

Bit 5 - RTC 1 kHz timer wake-up enable for Deep power-down.

pub fn rtc1khz_en(&mut self) -> _RTC1KHZ_ENW[src]

Bit 6 - 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).

pub fn rtc_en(&mut self) -> _RTC_ENW[src]

Bit 7 - RTC enable.

pub fn rtc_osc_pd(&mut self) -> _RTC_OSC_PDW[src]

Bit 8 - RTC oscillator power-down control.

pub fn rtc_osc_bypass(&mut self) -> _RTC_OSC_BYPASSW[src]

Bit 9 - RTC oscillator bypass control.

pub fn rtc_subsec_ena(&mut self) -> _RTC_SUBSEC_ENAW[src]

Bit 10 - RTC Sub-second counter control.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self