
RX
4571 SA
Page - 16
ETM21E-02
13.1.7. Extension Register ( Reg
D [h] )
Address [h]
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
D
Extension Register
TEST1
WADA
TE
FSEL1
FSEL0
TSEL1
TSEL0
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) TEST1 bit
This bits is the manufacturer's test bit.
Always leave this bit value as "0" except when testing.
Be careful to avoid writing to this bit when writing "1" to other bits in this register.
The three TEST* bits are undefined when read. Those bits should be masked after being read.
2) WADA bit ( Week Alarm / Day Alarm Select )
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 object for the alarm interrupt function.
Writing a "0" to this bit specifies WEEK as the comparison object for the alarm interrupt function.
3) TE bit ( Timer Enable )
This bit is used to control operation of the fixed-cycle timer interrupt function.
When "1" is written to this bit, the fixed-cycle timer interrupt function starts operating.
When "0" is written to this bit, the fixed-cycle timer interrupt function stops operating.
For details, see "13.2. Fixed-cycle Timer Interrupt Function ".
4) FSEL1, FSEL0 bits ( Frequency Select 1, 0 )
A combination of the FSEL1 and FSEL0 bits is used to select the frequency to be output.
The choice is possible by a combination of FSEL-bits and FOE-pin, select the frequency of clock output or
inhibit the clock output.
5) TSEL1,TSEL0 bits ( Timer Select 1, 0 )
These bits specify the fixed-cycle timer interrupt function's countdown period (source clock).
Four different periods can be selected via combinations of these two bit values.
For details, see "13.2. Fixed-cycle Timer Interrupt Function ".