RA8900 SA / CE
8.2.3. Alarm registers
Address
08, 18
MIN Alarm
09, 19
HOUR Alarm
WEEK Alarm
0A, 1A
DAY Alarm
The alarm interrupt function is used, along with the AEI, AF, and WADA bits, to set alarms for specified date, day,
hour, and minute values.
When the settings in the above alarm registers and the WADA bit match the current time, the /INT pin goes to low
level and "1" is set to the AF bit to report that and alarm interrupt event has occurred.
8.2.4. Fixed-cycle timer control registers
Address
0B, 1B
Timer Counter 0
0C, 1C
Timer Counter 1
These registers are used to set the preset countdown value for the fixed-cycle timer interrupt function.
The TE, TF, TIE, and TSEL0/1 bits are also used to set the fixed-cycle timer interrupt function.
When the value in the above fixed-cycle timer control register changes from 001h to 000h, the /INT pin goes to low
level and "1" is set to the TF bit to report that a fixed-cycle timer interrupt event has occurred.
8.2.5. Extension register
Address
Extension Register
0D, 1D
1)
The default value is the value that is read (or is set internally) after powering up from 0 V.
2)
"o" indicates write-protected bits. A zero is always read from these bits.
3)
"" indicates a default value is undefined.
This register is used to specify the target for the alarm function or time update interrupt function and to select or set
operations such as fixed-cycle timer operations.
1) TEST bit
This is the manufacturer's test bit. Its value should always be "0".
Be careful to avoid writing a "1" to this bit when writing to other bits.
TEST
Write/Read
2) WADA ( Week Alarm/Day Alarm ) bit
This bit is used to specify either WEEK or DAY as the target of the alarm interrupt function.
Writing a "1" to this bit specifies DAY as the comparison obLCct for the alarm interrupt function.
Writing a "0" to this bit specifies WEEK as the comparison obLCct for the alarm interrupt function.
3) USEL ( Update Interrupt Select ) bit
This bit is used to specify either "second update" or "minute update" as the update generation timing of the time
update interrupt function.
USEL
Write/Read
4) TE ( Timer Enable ) bit
This bit controls the start/stop setting for the fixed-cycle timer interrupt function.
Writing a "1" to this bit specifies starting of the fixed-cycle timer interrupt function (a countdown starts from a
preset value).
Writing a "0" to this bit specifies stopping of the fixed-cycle timer interrupt function.
Function
bit 7
AE
AE
AE
Function
bit 7
128
Function
bit 7
TEST
(Default)
(0)
Data
0
Normal operation mode
1
Setting prohibited (manufacturer's test bit)
Data
update interrupts
0
second update
1
minute update
bit 6
bit 5
bit 4
40
20
10
20
10
6
5
4
20
10
bit 6
bit 5
bit 4
64
32
16
bit 6
bit 5
bit 4
WADA
USEL
TE
()
()
()
Description
Auto reset time
500 ms
Default
7.813 ms
Page - 10
bit 3
bit 2
bit 1
8
4
2
8
4
2
3
2
1
8
4
2
bit 3
bit 2
bit 1
8
4
2
2048
1024
512
bit 3
bit 2
bit 1
FSEL1
FSEL0
TSEL1
(0)
(0)
()
t
RTN
ETM44E-01
bit 0
1
1
0
1
bit 0
1
256
bit 0
TSEL0
()
Default