
307
12.4 Operation of Multifunctional Timers
s Operation Mode
r 8-bit PPG mode
In this mode, the timer operates as an 8-bit PPG. The PPG0 pin corresponds to the channel 0
PPG output, and the PPG1 pin corresponds to the channel 1 PPG output.
r 8-bit prescaler + 8-bit PPG mode
In this mode, channel 0 operates as an 8-bit prescaler, and channel 1 counts by the channel-0
underflow output so that 8-bit PPG waveforms at any period can be output. The PPG0 pin
corresponds to the channel-0 prescaler output, and the PPG1 pin corresponds to the channel-1
PPG output.
r 16-bit PPG mode
In this mode, channels 0 and 1 are linked for operation as a 16-bit PPG timer. Both PPG0 and
PPG1 pins correspond to the 16-bit PPG output.
s PPG Operation
The channel-0 PPG timer starts counting when PPGC:PEN0 is set to "1" while PPGC:SST0 is
"0" (software activation). When the GATE signal becomes "H" even if PPGC: SST0 is set to "1",
the PPG timer starts counting (hardware activation).
The channel-1 PPG timer starts counting when PPGC:PEN1 is set to "1" while PPGC:SST1 is
"0" (software activation). When the GATE signal becomes "H" even if PPGC: SST1 is set to "1",
the PPG timer starts counting (hardware activation).
The channel-0 PPG timer stops counting when PPGC:PEN0 is set to "0" and the channel-1
PPG timer stops counting when PPGC:PEN1 is set to "0". Alternatively, the PPG timer stops
counting when the GATE signal becomes "L". After the timer is stopped, the pulse output is
held at the "L" level (This applies to the positive-polarity output. The pulse output is held at the
"H" level for negative-polarity output).
In 8-bit prescaler + 8-bit PPG mode, if activated by software, make settings to not enable
operation of channel 1 (PPGC: PEN0="0"), and to disable operation of channel 1 (PPGC:
PEN1="1"). In 16-bit PPG mode, set "0" or "1" simultaneously to PPGC: PEN0 and PEN1.