RX8900 SA / CE
Page - 6 ETM45E-01
8. Use Methods
8.1. Description of Registers
8.1.1. Write / Read and Bank Select
Address 00h to 0Fh : Basic time and calendar register … Compatible with RX-8803.
Address 10h to 1Fh : Extension register.
8.1.2. Register table (Basic time and calendar register)
Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Read Write
00 SEC
40 20 10 8 4 2 1
P P
01 MIN
40 20 10 8 4 2 1
P P
02 HOUR
20 10 8 4 2 1
P P
03 WEEK
6 5 4 3 2 1 0
P P
04 DAY
20 10 8 4 2 1
P P
05 MONTH
10 8 4 2 1
P P
06 YEAR 80 40 20 10 8 4 2 1
P P
07 RAM
P P
08 MIN Alarm AE 40 20 10 8 4 2 1
P P
09 HOUR Alarm AE
20 10 8 4 2 1
P P
0A
WEEK Alarm
AE
6 5 4 3 2 1 0
P P
DAY Alarm
20 10 8 4 2 1
0B Timer Counter 0 128 64 32 16 8 4 2 1
P P
0C Timer Counter 1
2048 1024 512 256
P P
0D Extension Register TEST WADA USEL TE FSEL1 FSEL0 TSEL1 TSEL0
P P
0E Flag Register
UF TF AF
VLF VDET
P P
0F Control Register CSEL1 CSEL0 UIE TIE AIE
RESET
P P
P : Possible , I : Impossible
Note
When after the initial power-up (from 0V) or when the result of read out the VLF bit is "1" , initialize all registers,
before using the module.
Be sure to avoid entering incorrect date and time data, as clock operations are not guaranteed when the data or
time data is incorrect.
1) During the initial power-up, the TEST bit is reset to "0" and the VLF bit is set to "1".
At this point, all other register values are undefined, so be sure to perform a reset before using the module.
2)
Only a "0" can be written to the UF, TF, AF, VLF, or VDET bit.
3)
Any bit marked with "" should be used with a value of "0" after initialization.
4) Any bit marked with "" is a RAM bit that can be used to read or write any data.
5)
The TEST bit is used by the manufacturer for testing. Be sure to set "0" for this bit when writing.