Resolution And Longest Set Time (16-Bit Timer Counter Mode) - NEC PD754144 User Manual

4-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Time setting of timer counter
[Timer set time] (cycle) is calculated by dividing [contents of modulo register + 1] by [count pulse (CP)
frequency] selected by the mode register.
n+1
T (sec) =
= (n+1) (resolution)
f
CP
where,
T (sec): Timer set time (seconds)
f
(Hz): CP frequency (Hz)
CP
Contents of modulo register (n ≠ 0)
n:
Once the timer has been set, interrupt request flag IRQT2 is set at the set time interval of the timer.
Table 6-8 shows the resolution of each count pulse of the timer counter and the longest set time (time when FFH
is set to the modulo registers 1 and 2).
Table 6-8. Resolution and Longest Set Time (16-Bit Timer Counter Mode) (1/2)
TM26
TM26
154
CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
.
(TM10 = 0, TM11 = 1, TM20 = 0, TM21 = 1)
(a) µ PD754144: at 1.0 MHz
Mode Register
TM25
TM24
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
(b) µ PD754244: at 6.0 MHz
Mode Register
TM25
TM24
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
User's Manual U10676EJ3V0UM
16-Bit Timer Counter
Resolution
Longest Set Time
2 µ s
131 ms
1 µ s
65.5 ms
1024 µ s
67.1 s
256 µ s
16.8 s
64 µ s
4.19 s
16 µ s
1.05 s
16-Bit Timer Counter
Resolution
Longest Set Time
333 ns
21.8 ms
167 ns
10.9 ms
171 µ s
11.2 s
42.7 µ s
2.80 s
10.7 µ s
699 ms
2.67 µ s
175 ms

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents