Struct msp430f5529::rtc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 17 fields
pub rtcctl01: Reg<RTCCTL01_SPEC>,
pub rtcctl23: Reg<RTCCTL23_SPEC>,
pub rtcps0ctl: Reg<RTCPS0CTL_SPEC>,
pub rtcps1ctl: Reg<RTCPS1CTL_SPEC>,
pub rtcps: Reg<RTCPS_SPEC>,
pub rtciv: Reg<RTCIV_SPEC>,
pub rtcsec: Reg<RTCSEC_SPEC>,
pub rtcmin: Reg<RTCMIN_SPEC>,
pub rtchour: Reg<RTCHOUR_SPEC>,
pub rtcdow: Reg<RTCDOW_SPEC>,
pub rtcday: Reg<RTCDAY_SPEC>,
pub rtcmon: Reg<RTCMON_SPEC>,
pub rtcyear: Reg<RTCYEAR_SPEC>,
pub rtcamin: Reg<RTCAMIN_SPEC>,
pub rtcahour: Reg<RTCAHOUR_SPEC>,
pub rtcadow: Reg<RTCADOW_SPEC>,
pub rtcaday: Reg<RTCADAY_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
rtcctl01: Reg<RTCCTL01_SPEC>
0x00 - Real Timer Control 0/1
rtcctl23: Reg<RTCCTL23_SPEC>
0x02 - Real Timer Control 2/3
rtcps0ctl: Reg<RTCPS0CTL_SPEC>
0x08 - Real Timer Prescale Timer 0 Control
rtcps1ctl: Reg<RTCPS1CTL_SPEC>
0x0a - Real Timer Prescale Timer 1 Control
rtcps: Reg<RTCPS_SPEC>
0x0c - Real Timer Prescale Timer Control
rtciv: Reg<RTCIV_SPEC>
0x0e - Real Time Clock Interrupt Vector
rtcsec: Reg<RTCSEC_SPEC>
0x10 - Real Time Clock Seconds
rtcmin: Reg<RTCMIN_SPEC>
0x11 - Real Time Clock Minutes
rtchour: Reg<RTCHOUR_SPEC>
0x12 - Real Time Clock Hour
rtcdow: Reg<RTCDOW_SPEC>
0x13 - Real Time Clock Day of week
rtcday: Reg<RTCDAY_SPEC>
0x14 - Real Time Clock Day
rtcmon: Reg<RTCMON_SPEC>
0x15 - Real Time Clock Month
rtcyear: Reg<RTCYEAR_SPEC>
0x16 - Real Time Clock Year
rtcamin: Reg<RTCAMIN_SPEC>
0x18 - Real Time Clock Alarm Min
rtcahour: Reg<RTCAHOUR_SPEC>
0x19 - Real Time Clock Alarm Hour
rtcadow: Reg<RTCADOW_SPEC>
0x1a - Real Time Clock Alarm Day of week
rtcaday: Reg<RTCADAY_SPEC>
0x1b - Real Time Clock Alarm Day