User guide
Arch Meter Corporation PS1000 Ver1.2
PS1000Rev. 1.2 May 2006
54/ 67
www.archmeter.com
For RTCWeek, the value will be 0 ~ 6. It is represent as Sunday to Saturday. The
RTCWeek will not relative to which Year, Month and Day. It must set by user. The RTC
circuit will keep the Week counting when the Day count is updated.
RTCWeek(0xFE13)
B7 B6 B5 B4 B3 B2 B1 B0
x x x x x Week (0~6)
For RTCHour, the value will be 0 ~ 23.
RTCHour(0xFE14)
B7 B6 B5 B4 B3 B2 B1 B0
x x x Hour (0 ~ 23)
For RTCMinute, the value will be 0 ~ 59.
RTCMinutes(0xFE15)
B7 B6 B5 B4 B3 B2 B1 B0
x x Minute(0 ~ 59)
For RTCSec, the value will be 0 ~ 59.
RTCSec(0xFE16)
B7 B6 B5 B4 B3 B2 B1 B0
x x Second (0 ~ 59)
In order to initialize the RTC value. It can set the initial RTC value in the RTC write
registers (wRTCYear, wRTCMonth, wRTCDay, wRTCWeek, wRTCHour,
wRTCMinutes and wRTCSec). The setting format is same as RTCYear, RTCMonth,
RTCHour, RTCMinute and RTCSec except the RTCDay and RTCWeek. That is
combine in one wRTCDay Register
wRTCDay(0xFE3B)
B7 B6 B5 B4 B3 B2 B1 B0
Week (0~6) Day ( 1 ~ 31)
It is different as RTC information register. After setting the initial value into the
RTC write register, it must trigger the RTC update flag (0 - 1 – 0). The RTC circuit will
update the RTC information register base on the RTC write register when detect the
RTC update flag is toggle.