TIMER A
7.1 Overview
7.1 Overview
Timer A consists of ten counters, Timers A0 to A9, each equipped with a 16-bit reload function. Timers A0
to A9 operate independently of one other.
Each timer is equipped with the different operating mode; therefore, in this chapter, timers are referred to
as follows:
• Timers A0 to A9; timer Ai ( i = 0 to 9)
• Timer A, equipped with the I/O function; timer Aj (j = 0 to 2, 4, 9)
• Timer A, not equipped with the I/O function; timer Ak (k = 3, 5 to 8)
Timer Aj (j = 0 to 2, 4, 9) has four operating modes listed below. Except for the event counter mode, timer
Aj has the same functions.
Timer Ak (k = 3, 5 to 8) is equipped with the timer mode only.
Table 7.1.1 lists the functions of timer Ai (i = 0 to 9).
(1) Timer mode : timer Ai (i = 0 to 9)
In this mode, the timer counts an internally generated count source. For timer Aj (j = 0 to 2, 4, 9),
following functions can be used in this mode:
• Gate function
• Pulse output function
(2) Event counter mode : timer Aj (j = 0 to 2, 4, 9)
In this mode, the timer counts an external signal. Following functions can be used in this mode:
• Pulse output function
• Two-phase pulse signal processing function (Timers A2, A4, and A9)
(3) One-shot pulse mode : timer Aj (j = 0 to 2, 4, 9)
In this mode, the timer outputs a pulse which has an arbitrary width once.
(4) Pulse width modulation (PWM) mode : timer Aj (j = 0 to 2, 4, 9)
In this mode, the timer outputs pulses which have an arbitrary width in succession. In this mode, the
timer serves as one of the following pulse width modulators:
• 16-bit pulse width modulator
• 8-bit pulse width modulator
7906 Group User’s Manual Rev.2.0
7-2