#[repr(C)]
pub struct RegisterBlock {
Show 20 fields pub time: Reg<TIME_SPEC>, pub date: Reg<DATE_SPEC>, pub ctl: Reg<CTL_SPEC>, pub stat: Reg<STAT_SPEC>, pub psc: Reg<PSC_SPEC>, pub alrm0td: Reg<ALRM0TD_SPEC>, pub wpk: Reg<WPK_SPEC>, pub ss: Reg<SS_SPEC>, pub shiftctl: Reg<SHIFTCTL_SPEC>, pub tts: Reg<TTS_SPEC>, pub dts: Reg<DTS_SPEC>, pub ssts: Reg<SSTS_SPEC>, pub hrfc: Reg<HRFC_SPEC>, pub tamp: Reg<TAMP_SPEC>, pub alrm0ss: Reg<ALRM0SS_SPEC>, pub bkp0: Reg<BKP0_SPEC>, pub bkp1: Reg<BKP1_SPEC>, pub bkp2: Reg<BKP2_SPEC>, pub bkp3: Reg<BKP3_SPEC>, pub bkp4: Reg<BKP4_SPEC>, /* private fields */
}
Expand description

Register block

Fields

time: Reg<TIME_SPEC>

0x00 - Time of day register

date: Reg<DATE_SPEC>

0x04 - date register

ctl: Reg<CTL_SPEC>

0x08 - control register

stat: Reg<STAT_SPEC>

0x0c - Status register

psc: Reg<PSC_SPEC>

0x10 - Time prescaler register

alrm0td: Reg<ALRM0TD_SPEC>

0x1c - Alarm 0 Time and date register

wpk: Reg<WPK_SPEC>

0x24 - Write protection key register

ss: Reg<SS_SPEC>

0x28 - sub second register

shiftctl: Reg<SHIFTCTL_SPEC>

0x2c - Shift function control register

tts: Reg<TTS_SPEC>

0x30 - Time of time stamp register

dts: Reg<DTS_SPEC>

0x34 - Date of time stamp register

ssts: Reg<SSTS_SPEC>

0x38 - Sub second of time stamp register

hrfc: Reg<HRFC_SPEC>

0x3c - High resolution frequency compensation register

tamp: Reg<TAMP_SPEC>

0x40 - Tamper register

alrm0ss: Reg<ALRM0SS_SPEC>

0x44 - Alarm 0 sub second register

bkp0: Reg<BKP0_SPEC>

0x50 - backup register

bkp1: Reg<BKP1_SPEC>

0x54 - backup register

bkp2: Reg<BKP2_SPEC>

0x58 - backup register

bkp3: Reg<BKP3_SPEC>

0x5c - backup register

bkp4: Reg<BKP4_SPEC>

0x60 - backup register

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.