NEC PD78052 User Manual page 219

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) External event counter
The number of pulses of an externally input signal can be measured.
(3) Square-wave output
A square wave with any selected frequency can be output.
Table 9-4. Square-Wave Output Ranges when 8-Bit Timer/Event
Minimum Pulse Width
MCS = 1
MCS = 0
2
2
1/f
2
X
(400 ns)
(800 ns)
2
3
2
1/f
2
X
(800 ns)
(1.6 s)
3
4
2
1/f
2
X
(1.6 s)
(3.2 s)
4
5
2
1/f
2
X
(3.2 s)
(6.4 s)
5
6
2
1/f
2
X
(6.4 s)
(12.8 s)
6
7
2
1/f
2
X
(12.8 s)
(25.6 s)
7
8
2
1/f
2
X
(25.6 s)
(51.2 s)
8
9
2
1/f
2
X
(51.2 s)
(102.4 s)
9
10
2
1/f
2
X
(102.4 s)
(204.8 s)
11
12
2
1/f
2
X
(409.6 s)
(819.2 s)
Remarks 1. f
: Main system clock oscillation frequency
X
2. MCS : Oscillation mode selection register (OSMS) bit 0
3. Values in parentheses when operated at f
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1 AND 2
Counters 1 and 2 are Used as 16-Bit Timer/Event Counters
Maximum Pulse Width
MCS = 1
17
1/f
2
1/f
X
X
(26.2 ms)
18
1/f
2
1/f
X
X
(52.4 ms)
19
1/f
2
1/f
X
X
(104.9 ms)
20
1/f
2
1/f
X
X
(209.7 ms)
21
1/f
2
1/f
X
X
(419.4 ms)
22
1/f
2
1/f
X
X
(838.9 ms)
23
1/f
2
1/f
X
X
(1.7 s)
24
1/f
2
1/f
X
X
(3.4 s)
25
1/f
2
1/f
X
X
(6.7 s)
27
1/f
2
1/f
X
X
(26.8 s)
Resolution
MCS = 0
MCS = 1
18
2
1/f
2
1/f
X
X
(52.4 ms)
(400 ns)
19
2
2
1/f
2
1/f
X
X
(104.9 ms)
(800 ns)
20
3
2
1/f
2
1/f
X
X
(209.7 ms)
(1.6 s)
21
4
2
1/f
2
1/f
X
X
(419.4 ms)
(3.2 s)
22
5
2
1/f
2
1/f
X
X
(838.9 ms)
(6.4 s)
23
6
2
1/f
2
1/f
X
X
(1.7 s)
(12.8 s)
24
7
2
1/f
2
1/f
X
X
(3.4 s)
(25.6 s)
25
8
2
1/f
2
1/f
X
X
(6.7 s)
(51.2 s)
26
9
2
1/f
2
1/f
X
X
(13.4 s)
(102.4 s)
28
11
2
1/f
2
1/f
X
X
(53.7 s)
(409.6 s)
= 5.0 MHz.
X
MCS = 0
2
2
1/f
X
(800 ns)
3
2
1/f
X
(1.6 s)
4
2
1/f
X
(3.2 s)
5
2
1/f
X
(6.4 s)
6
2
1/f
X
(12.8 s)
7
2
1/f
X
(25.6 s)
8
2
1/f
X
(51.2 s)
9
2
1/f
X
(102.4 s)
10
2
1/f
X
(204.8 s)
12
2
1/f
X
(819.2 s)
219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents