Renesas Stereo System SH7709S User Manual

Page of 807
Rev. 5.00, 09/03, page 414 of 760
13.2.6
Date Counter (RDAYCNT)
The date counter (RDAYCNT) is an 8-bit readable/writable register used for setting/counting in
the BCD-coded date section of the RTC. The count operation is performed by a carry for each day
of the hour counter.
The range that can be set is 01
31 (decimal). Errant operation will result if any other value is set.
Carry out write processing after halting the count operation with the START bit in RCR2.
RDAYCNT is not initialized by a power-on reset or manual reset, or in standby mode.
The RDAYCNT range that can be set changes with each month and in leap years. Please confirm
the correct setting.
Bit:
7
6
5
4
3
2
1
0
10 days
1 day
Initial  value:
0
0
R/W:
R
R
R/W
R/W
R/W
R/W
R/W
R/W
13.2.7
Month Counter (RMONCNT)
The month counter (RMONCNT) is an 8-bit readable/writable register used for setting/counting in
the BCD-coded month section of the RTC. The count operation is performed by a carry for each
month of the date counter.
The range that can be set is 00
12 (decimal). Errant operation will result if any other value is set.
Carry out write processing after halting the count operation with the START bit in RCR2.
RMONCNT is not initialized by a power-on reset or manual reset, or in standby mode.
Bit:
7
6
5
4
3
2
1
0
10
months
1 month
Initial  value:
0
0
0
R/W:
R
R
R
R/W
R/W
R/W
R/W
R/W