Bit Timer/Event Counters 5 And 6 Square-Wave Output Ranges - NEC PD78076 User Manual

Pd78078 series; pd78078y 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 10-2. 8-Bit Timer/Event Counters 5 and 6 Square-Wave Output Ranges
Minimum Pulse Width
MCS = 1
MCS = 0
1/f
(200 ns)
1/f
2 x 1/f
X
(200 ns)
(400 ns)
2
2 x 1/f
2
x 1/f
X
(400 ns)
(800 ns)
2
3
2
x 1/f
2
x 1/f
X
(800 ns)
(1.6 s)
2
3
x 1/f
2
4
x 1/f
X
(1.6 s)
(3.2 s)
2
4
x 1/f
2
5
x 1/f
X
(3.2 s)
(6.4 s)
5
6
2
x 1/f
2
x 1/f
X
(6.4 s)
(12.8 s)
6
7
2
x 1/f
2
x 1/f
X
(12.8 s)
(25.6 s)
2
7
x 1/f
2
8
x 1/f
X
(25.6 s)
(51.2 s)
2
8
x 1/f
2
9
x 1/f
X
(51.2 s)
(102.4 s)
9
10
2
x 1/f
2
x 1/f
X
(102.4 s)
(204.8 s)
2
11
x 1/f
2
12
x 1/f
X
(409.6 s)
(819.2 s)
Remarks 1. f
: Main system clock oscillation frequency
X
2. MCS : Bit 0 of oscillation mode selection register (OSMS)
3. Figures in parentheses apply to operation with f
(4) PWM output
TM5 and TM6 can generate 8-bit resolution PWM output.
CHAPTER 10 8-BIT TIMER/EVENT COUNTERS 5 AND 6
Maximum Pulse Width
MCS = 1
X
2
8
x 1/f
X
X
(51.2 s)
9
2
x 1/f
X
X
(102.4 s)
10
2
x 1/f
X
X
(204.8 s)
2
11
x 1/f
X
X
(409.6 s)
2
12
x 1/f
X
X
(819.2 s)
13
2
x 1/f
X
X
(1.64 ms)
14
2
x 1/f
X
X
(3.28 ms)
2
15
x 1/f
X
X
(6.55 ms)
2
16
x 1/f
X
X
(13.1 ms)
17
2
x 1/f
X
X
(26.2 ms)
2
19
x 1/f
X
X
(104.9 ms)
Resolution
MCS = 0
MCS = 1
2
8
x 1/f
X
(51.2 s)
2
9
x 1/f
1/f
X
X
(102.4 s)
(200 ns)
10
2
x 1/f
2 x 1/f
X
X
(204.8 s)
(400 ns)
11
2
2
x 1/f
2
x 1/f
X
X
(409.6 s)
(800 ns)
2
12
x 1/f
2
3
x 1/f
X
X
(819.2 s)
(1.6 s)
2
13
x 1/f
2
4
x 1/f
X
X
(1.64 ms)
(3.2 s)
14
5
2
x 1/f
2
x 1/f
X
X
(3.28 ms)
(6.4 s)
15
6
2
x 1/f
2
x 1/f
X
X
(6.55 ms)
(12.8 s)
2
16
x 1/f
2
7
x 1/f
X
X
(13.1 ms)
(25.6 s)
2
17
x 1/f
2
8
x 1/f
X
X
(26.2 ms)
(51.2 s)
18
9
2
x 1/f
2
x 1/f
X
X
(52.4 ms)
(102.4 s)
2
20
x 1/f
2
11
x 1/f
X
X
(209.7 ms)
(409.6 s)
= 5.0 MHz.
X
MCS = 0
1/f
X
(200 ns)
2 x 1/f
X
(400 ns)
2
2
x 1/f
X
(800 ns)
3
2
x 1/f
X
(1.6 s)
2
4
x 1/f
X
(3.2 s)
2
5
x 1/f
X
(6.4 s)
6
2
x 1/f
X
(12.8 s)
7
2
x 1/f
X
(25.6 s)
2
8
x 1/f
X
(51.2 s)
2
9
x 1/f
X
(102.4 s)
10
2
x 1/f
X
(204.8 s)
2
12
x 1/f
X
(819.2 s)
251

Advertisement

Table of Contents
loading

Table of Contents