User’s Manual U12978EJ3V0UD 79
CHAPTER 6 8-BIT TIMER/EVENT COUNTERS 00 AND 01
6.1 Functions of 8-Bit Timer/Event Counters 00 and 01
The 8-bit timer/event counters (TM00 and TM01) have the following functions.
Interval timer (TM00 and TM01)
External event counter (TM01 only)
Square wave output (TM01 only)
The
µ
PD789800 Subseries is provided with a 1-channel (TM01) 8-bit timer/event counter and a 1-channel (TM00)
8-bit timer. When reading the description of TM00, “timer/event counter” should be read as “ timer”.
(1) 8-bit interval timer
When the 8-bit timer/event counter is used as an interval timer, it generates an interrupt at any preset time
interval.
Table 6-1. Interval Time of 8-Bit Timer 00
Minimum Interval Time Maximum Interval Time Resolution
26/fX (10.7
µ
s) 214/fX (2.73 ms) 26/fX (10.7
µ
s)
29/fX (85.3
µ
s) 217/fX (21.8 ms) 29/fX (85.3
µ
s)
Remarks 1. fX: System clock oscillation frequency
2. The parenthesized values apply to operation at fX = 6.0 MHz.
Table 6-2. Interval Time of 8-Bit Timer/Event Counter 01
Minimum Interval Time Maximum Interval Time Resolution
24/fX (2.67
µ
s) 212/fX (682.7
µ
s) 24/fX (2.67
µ
s)
28/fX (42.7
µ
s) 216/fX (10.9 ms) 28/fX (42.7
µ
s)
Remarks 1. fX: System clock oscillation frequency
2. The parenthesized values apply to operation at fX = 6.0 MHz.
(2) External event counter
The number of pulses of an externally input signal can be measured.