CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
234
User’s Manual U14492EJ3V0UD
9.1.4 Control registers
(1) Timer 0 clock selection register (PRM01)
The PRM01 register is used to select the base clock (f
CLK
) of timer 0 (TM0n).
It can be read/written in 8-bit or 1-bit units.
Caution
Always set this register before using the timer.
7
0
PRM01
6
0
5
0
4
0
3
0
2
0
1
0
0
PRM1
Address
FFFFF5D0H
Initial value
00H
Bit Position
Bit Name
Function
0
PRM1
Specifies the base clock (f
CLK
) of timer 0 (TM0n) (See
Figure 9-3
).
0: f
XX
/2 (When f
XX
> 40 MHz)
1: f
XX
(When f
XX
≤
40 MHz)
Remark
f
XX
: Internal system clock
Figure 9-3. Timer 00 and Timer 01 Clock
Timer 00
Timer 01
PRM1
f
CLK
f
XX
/2
Select
f
XX
Remarks 1.
f
XX
: Internal system clock
2.
f
CLK
: Base clock
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...