pub struct RegisterBlock {
    pub crh: Reg<CRH_SPEC>,
    pub crl: Reg<CRL_SPEC>,
    pub prlh: Reg<PRLH_SPEC>,
    pub prll: Reg<PRLL_SPEC>,
    pub divh: Reg<DIVH_SPEC>,
    pub divl: Reg<DIVL_SPEC>,
    pub cnth: Reg<CNTH_SPEC>,
    pub cntl: Reg<CNTL_SPEC>,
    pub alrh: Reg<ALRH_SPEC>,
    pub alrl: Reg<ALRL_SPEC>,
}
Expand description

Register block

Fields§

§crh: Reg<CRH_SPEC>

0x00 - RTC Control Register High

§crl: Reg<CRL_SPEC>

0x04 - RTC Control Register Low

§prlh: Reg<PRLH_SPEC>

0x08 - RTC Prescaler Load Register High

§prll: Reg<PRLL_SPEC>

0x0c - RTC Prescaler Load Register Low

§divh: Reg<DIVH_SPEC>

0x10 - RTC Prescaler Divider Register High

§divl: Reg<DIVL_SPEC>

0x14 - RTC Prescaler Divider Register Low

§cnth: Reg<CNTH_SPEC>

0x18 - RTC Counter Register High

§cntl: Reg<CNTL_SPEC>

0x1c - RTC Counter Register Low

§alrh: Reg<ALRH_SPEC>

0x20 - RTC Alarm Register High

§alrl: Reg<ALRL_SPEC>

0x24 - RTC Alarm Register Low

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.