Struct ch32v3::ch32v30x::rtc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ctlrh: CTLRH,
pub ctlrl: CTLRL,
pub pscrh: PSCRH,
pub pscrl: PSCRL,
pub divh: DIVH,
pub divl: DIVL,
pub cnth: CNTH,
pub cntl: CNTL,
pub alrmh: ALRMH,
pub alrml: ALRML,
}
Expand description
Register block
Fields§
§ctlrh: CTLRH
0x00 - RTC Control Register High
ctlrl: CTLRL
0x04 - RTC Control Register Low
pscrh: PSCRH
0x08 - RTC Prescaler Load Register High
pscrl: PSCRL
0x0c - RTC Prescaler Load Register Low
divh: DIVH
0x10 - RTC Prescaler Divider Register High
divl: DIVL
0x14 - RTC Prescaler Divider Register Low
cnth: CNTH
0x18 - RTC Counter Register High
cntl: CNTL
0x1c - RTC Counter Register Low
alrmh: ALRMH
0x20 - RTC Alarm Register High
alrml: ALRML
0x24 - RTC Alarm Register Low