292
CHAPTER 12 MULTIFUNCTIONAL TIMERS
12.3.5 Waveform Generator Registers
The waveform generator uses the following three types of registers:
8-bit timer control registers (DTCR0 to DTCR2)
8-bit reload registers (TMRR0 to TMRR2)
Waveform control register (SIGCR)
s 8-Bit Timer Control Registers (DTCR0 to DTCR2)
Figure 12.3-21 8-Bit Timer Control Registers (DTCR0 to DTCR2)
TMIF
TMIE
TMD1 TMD0
TMD2
DMOD GTEN PGEN
R/W R/W R/W R/W
R/W
R/W R/W R/W
TMD2
TMIE
8-bit timer interrupt request enable bit
0
1
Disable an interrupt request
Enable an interrupt request
DMOD
Waveform output polarity setting bit
Waveform output with positive polarity
Waveform output with negative polarity
R/W : Read/write
: Initial value
Address
Initial value
bit15 bit14 bit13 bit12 bit11 bit10
bit9
bit8
ch0:000051H
00000000 B
0
1
TMD1 TMD0
0
1
0
1
0
1
0
1
Operation mode setting bit
Pulse output enable bit
0
1
Disable pulse output of the PPG timer
Enable pulse output of the PPG timer
GTEN
GATE signal output setting bit
0
1
No GATE signal output (asynchronous mode)
GATE signal output present (synchronous mode)
ch1:000053H
ch2:000055H
Stop an operation of the waveform generation block.
The 8-bit timer can be used as a reload timer.
Output pulses of the PPG timer during the "H" period of
each RT. Make settings for the PPG timer to be output in the
PPG timer setting bits (PGS1, PGS0) of the waveform control
register (SIGCR).
Start the 8-bit timer on the rising edge of each RT to run the
PPG timer until the timer stops (timer mode).
Generate non-overlap waveforms from the RT1 waveforms
(dead-time timer mode).
Start and stop the PPG timer using the RT1 (RT3, RT5)
output as the GATE signal to generate non-overlap waveforms
from the PPG output waveforms (dead-time timer mode).
TMIF
8-bit timer interrupt request flag bit (corresponding to ch0, ch2, and ch4)
0
1
No interrupt request
Interrupt request present
Clear interrupt request
No effect on operation
Read
Write