CHAPTER 9 TIMER/COUNTER FUNCTION
299
User’s Manual U15195EJ5V0UD
9.2.4 Control registers
(1) Timer 1/timer 2 clock selection register (PRM02)
The PRM02 register is used to select the base clock (f
CLK
) of timer 1 and timer 2.
This register can be read/written in 8-bit or 1-bit units.
Cautions 1. Always set 01H to this register before using the timers 1 and 2. Setting to other than
01H is prohibited.
2.
Set
f
CLK
to 20 MHz or less.
7
0
PRM02
6
0
5
0
4
0
3
0
2
0
1
0
0
PRM2
Address
FFFFF5D8H
After reset
00H
Bit position
Bit name
Function
0
PRM2
Specifies the base clock (f
CLK
) of timer 1 and timer 2.
1: f
CLK
= f
XX
/2
Remark
f
XX
: Internal system clock