CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
149
(4) Prescaler mode register 0n (PRM0n)
This register is used to set the 16-bit timer counter 0n (TM0n) count clock and TI00n and TI01n pin input valid
edges.
PRM0n can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears PRM0n to 00H.
Remark n = 0:
µ
PD78F0132H
n = 0, 1:
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, 78F0138HD
Figure 6-12. Format of Prescaler Mode Register 00 (PRM00)
Address: FFBBH After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
PRM00 ES101 ES100 ES001 ES000
0
0 PRM001
PRM000
ES101
ES100
TI010 pin valid edge selection
0 0
Falling
edge
0 1
Rising
edge
1 0
Setting
prohibited
1
1
Both falling and rising edges
ES001
ES000
TI000 pin valid edge selection
0 0
Falling
edge
0 1
Rising
edge
1 0
Setting
prohibited
1
1
Both falling and rising edges
PRM001
PRM000
Count clock selection
Note 1
0 0
f
X
(10 MHz)
0 1
f
X
/2
2
(2.5 MHz)
1 0
f
X
/2
8
(39.06 kHz)
1 1
TI000
valid
edge
Note 2
Notes 1. Be sure to set the count clock so that the following condition is satisfied.
•
V
DD
= 4.0 to 5.5 V: Count clock
≤
10 MHz
•
V
DD
= 3.3 to 4.0 V: Count clock
≤
8.38 MHz
•
V
DD
= 2.7 to 3.3 V: Count clock
≤
5 MHz
•
V
DD
= 2.5 to 2.7 V: Count clock
≤
2.5 MHz
2. The external clock requires a pulse longer than two cycles of the internal count clock (f
X
).
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...