CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
307
User’s Manual U14492EJ3V0UD
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 (TM1n) and timer 2 (TM2n).
This register can be read/written in 8-bit or 1-bit units.
Caution
Always set this register before using the timers 1 and 2.
7
0
PRM02
6
0
5
0
4
0
3
0
2
0
1
0
0
PRM2
Address
FFFFF5D8H
Initial value
00H
Bit Position
Bit Name
Function
0
PRM2
Specifies the base clock of timer 1 (TM1n) and timer 2 (TM2n).
0: f
XX
/4 (when f
XX
> 32 MHz)
1: f
XX
/2 (when f
XX
≤
32 MHz)
Remark
f
XX
: Internal system clock
n = 0, 1
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...