NEC MuPD78F0132H User Manual page 149

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

(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
Address: FFBBH
After reset: 00H
Symbol
7
PRM00
ES101
ES101
0
0
1
1
ES001
0
0
1
1
PRM001
0
0
1
1
Notes 1.
Be sure to set the count clock so that the following condition is satisfied.
• V
= 4.0 to 5.5 V: Count clock ≤ 10 MHz
DD
• V
= 3.3 to 4.0 V: Count clock ≤ 8.38 MHz
DD
• V
= 2.7 to 3.3 V: Count clock ≤ 5 MHz
DD
• V
= 2.5 to 2.7 V: Count clock ≤ 2.5 MHz
DD
2.
The external clock requires a pulse longer than two cycles of the internal count clock (f
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Figure 6-12. Format of Prescaler Mode Register 00 (PRM00)
R/W
6
5
ES100
ES001
ES100
0
Falling edge
1
Rising edge
0
Setting prohibited
1
Both falling and rising edges
ES000
0
Falling edge
1
Rising edge
0
Setting prohibited
1
Both falling and rising edges
PRM000
0
f
(10 MHz)
X
2
1
f
/2
(2.5 MHz)
X
8
0
f
/2
(39.06 kHz)
X
1
TI000 valid edge
User's Manual U16899EJ2V0UD
4
3
2
ES000
0
0
TI010 pin valid edge selection
TI000 pin valid edge selection
Count clock selection
Note 2
1
0
PRM001
PRM000
Note 1
).
X
149

Advertisement

Table of Contents
loading

Table of Contents