
324
CHAPTER 12 MULTI-FUNCTION TIMER
MB90560 series
12.4 Operation of Multi-Function Timer
This section describes the operation of the multifunctional timer unit.
I
Operation of Multifunctional Timers
G
16-bit free-running timer
The 16-bit free-running timer starts counting up from counter value “0000
H
” after a reset has
been completed. The counter value is used as the reference time for 16-bit output compare and
16-bit input capture.
G
16-bit output compare
The output compare unit is used to compare the value set in the specified compare register with
the value of the 16-bit free-running timer. If a match is detected, the interrupt flag is set and the
output level is inverted
G
16-bit input capture
The input capture unit is used to detect a specified valid edge. If a valid edge is detected, the
interrupt flag is set and the value of 16-bit free-run timer is fetched and stored into the capture
register.
G
8/16-bit PPG timer
This PPG timer has two channels of PPG units each of which is 8 bits long. The timer can
operate in normal two-channel independent mode. In addition, by connecting the two channels, it
can also operate in two other modes, i.e., 8 + 8-bit PPG mode and 16-bit PPG mode.
G
Waveform generator
The waveform generator can generate various timing waveforms using the real-time outputs
(RT0 to RT5), 8/16-bit PPG timer, and 8-bit timer.