
P95020 / Preliminary Datasheet
Revision 0.7.10
68
2010 Integrated Device Technology, Inc.
5.3.2
RTC_DATE
– RTC Date Register
The full range of the date counter is 1 through 31.
IC Address = Page-0: 68(0x44), C Address = 0xA044
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
DATE
1h
R/W
Check default
Date counter, BCD format, low bits. Range: 0~9
[5:4]
DATE_10
00b
R/W
Date counter, BCD format, high bits. Range: 0~3
[7:6]
RESERVED
R/W
RESERVED
5.3.3
RTC_MONTH
– RTC Month Register
The full range of the month counter is 1 through 12.
IC Address = Page-0: 69(0x45), C Address = 0xA045
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
MONTH
1h
R/W
Check default
Month counter, BCD format, low bits. Range: 0~9
4
MONTH_10
0b
R/W
Month counter, BCD format, high bit. Range: 0~1
[6:5]
RESERVED
R/W
RESERVED
7
CENTURY
0b
R/W
1 - 100 years
0 = 0 year
Century bit is toggled when the year counter overflows from 99 to 0.
5.3.4
RTC
– Year Register
The full range of the year counter is 0 through 99.
IC Address = Page-0: 70(0x46), C Address = 0xA046
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
YEAR
0h
R/W
Year counter, BCD format, low bits. Range: 0~9
[7:4]
YEAR_10
0h
R/W
Year counter, BCD format, high bit. Range: 0~9
5.4
RTC - ALARM REGISTERS
The two alarms supported by the RTC module can be controlled and monitored by writing 8-bit control words to the
various registers described below.
5.4.1
RTC_AL1_SEC
– RTC Second Alarm 1 Value Register
IC Address = Page-0: 71(0x47), C Address = 0xA047
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
SECOND_VAL1
0h
R/W
Second alarm value, BCD format, low bits. Range: 0~9
[6:4]
SECOND_10_VAL
1
000b
R/W
Second alarm value, BCD format, high bits. Range: 0~5
7
A1M1
0b
R/W
Alarm 1, mask bit 1
5.4.2
RTC_AL1_MIN
– RTC Minute Alarm 1 Value Register
IC Address = Page-0: 72(0x48), C Address = 0xA048
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
MINUTE_VAL1
0h
R/W
Second alarm value, BCD format, low bits. Range: 0~9
[6:4]
MINUTE_10_VAL1 000b
R/W
Second alarm value, BCD format, high bits. Range: 0~5
7
A1M2
0b
R/W
Alarm 1, mask bit 2
5.4.3
RTC_AL1_HR
– RTC Hour Alarm 1 Value Register
IC Address = Page-0: 73(0x49), C Address = 0xA049
Bit
Bit Name
Def.
Set.
User
Type
Value
Description / Comments
[3:0]
HOUR_VAL1
0h
R/W
Hour alarm value, BCD format, low bits. Range: 0~9
4
HOUR_10_VAL1
0b
R/W
Hour alarm value, BCD format, high bits. LSB of HOUR_10_VAL.
5
PM_VAL1
0b
R/W
When TIME_12_VAL equals to 1: 1 = PM, 0 = AM
When TIME_12_VAL equals to 0, this bit is MSB of HOUR_10_VAL.
6
TIME_12_VAL1
0b
R/W
1 = 12-hour alarm mode is
selected
0 = 24-hour alarm mode is
selected
12-hour alarm or 24-hour alarm mode selection bit.
7
A1M3
0b
R/W
Alarm 1, mask bit 3