CHAPTER 9 TIMER/COUNTER FUNCTION
205
User’s Manual U15195EJ5V0UD
9.1.5 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
After reset
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
1: f
XX
Caution Set f
CLK
to 40 MHz or less.
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
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...