Struct gd32f1x0_hal::pac::rtc::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {}Show 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>, // some fields omitted
Expand description
Register block
Fields
time: Reg<TIME_SPEC>
Expand description
0x00 - Time of day register
date: Reg<DATE_SPEC>
Expand description
0x04 - date register
ctl: Reg<CTL_SPEC>
Expand description
0x08 - control register
stat: Reg<STAT_SPEC>
Expand description
0x0c - Status register
psc: Reg<PSC_SPEC>
Expand description
0x10 - Time prescaler register
alrm0td: Reg<ALRM0TD_SPEC>
Expand description
0x1c - Alarm 0 Time and date register
wpk: Reg<WPK_SPEC>
Expand description
0x24 - Write protection key register
ss: Reg<SS_SPEC>
Expand description
0x28 - sub second register
shiftctl: Reg<SHIFTCTL_SPEC>
Expand description
0x2c - Shift function control register
tts: Reg<TTS_SPEC>
Expand description
0x30 - Time of time stamp register
dts: Reg<DTS_SPEC>
Expand description
0x34 - Date of time stamp register
ssts: Reg<SSTS_SPEC>
Expand description
0x38 - Sub second of time stamp register
hrfc: Reg<HRFC_SPEC>
Expand description
0x3c - High resolution frequency compensation register
tamp: Reg<TAMP_SPEC>
Expand description
0x40 - Tamper register
alrm0ss: Reg<ALRM0SS_SPEC>
Expand description
0x44 - Alarm 0 sub second register
bkp0: Reg<BKP0_SPEC>
Expand description
0x50 - backup register
bkp1: Reg<BKP1_SPEC>
Expand description
0x54 - backup register
bkp2: Reg<BKP2_SPEC>
Expand description
0x58 - backup register
bkp3: Reg<BKP3_SPEC>
Expand description
0x5c - backup register
bkp4: Reg<BKP4_SPEC>
Expand description
0x60 - backup register