Struct lpc55_pac::pmc::rtcosc32k::W[][src]

pub struct W(_);

Register RTCOSC32K writer

Implementations

impl W[src]

pub fn sel(&mut self) -> SEL_W<'_>[src]

Bit 0 - Select the 32K oscillator to be used in Deep Power Down Mode for the RTC (either XTAL32KHz or FRO32KHz) .

pub fn clk1khzdiv(&mut self) -> CLK1KHZDIV_W<'_>[src]

Bits 1:3 - Actual division ratio is : 28 + CLK1KHZDIV.

pub fn clk1khzdivupdatereq(&mut self) -> CLK1KHZDIVUPDATEREQ_W<'_>[src]

Bit 15 - RTC 1KHz clock Divider status flag.

pub fn clk1hzdiv(&mut self) -> CLK1HZDIV_W<'_>[src]

Bits 16:26 - Actual division ratio is : 31744 + CLK1HZDIV.

pub fn clk1hzdivhalt(&mut self) -> CLK1HZDIVHALT_W<'_>[src]

Bit 30 - Halts the divider counter.

pub fn clk1hzdivupdatereq(&mut self) -> CLK1HZDIVUPDATEREQ_W<'_>[src]

Bit 31 - RTC 1Hz Divider status flag.

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

Writes raw bits to the register.

Methods from Deref<Target = W<RTCOSC32K_SPEC>>

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

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<RTCOSC32K_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<RTCOSC32K_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.