![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F1235GK-GAJ-AX_datasheet_99860/UPD78F1235GK-GAJ-AX_433.png)
CHAPTER 7 INVERTER CONTROL FUNCTIONS
User’s Manual U19678EJ1V1UD
431
7.5.7 Interrupt signal thinning function
The interrupt signal thinning function uses two channels in combination to output INTTMm that is INTTMn of the
master channel being thinned by the specified number of times from the slave channel.
It assumes the slave channel to be used as a sub-function of the function described in 7.5.6 Operation as 6-phase
triangular wave PWM output function.
The setting of the master channel is therefore the same as in 7.5.6
Operation as 6-phase triangular wave PWM output function. The number of interrupts to be thinned can be
calculated by the following expression.
Number of interrupts to be thinned = Set value of TDRm (slave channel)
→ Outputting INTTMn of the master channel from INTTMm of the slave channel every {Set value of TDRm
(slave) + 1} times
TCRn of the master channel counts down in the interval timer mode.
TCRn loads the value of TDRn by setting the channel start trigger bit (TSn) to 1. At this time, INTTMn is not output
and TOn is not toggled when MDn0 of TMRn is 0. INTTMn is output and TOn is toggled when MDn0 of TMRn is 1.
Afterward, TCRn counts down along with the count clock. When TCRn has become 0000H, INTTMn is output and
TOn is toggled upon the next count clock. TCRn loads the value of TDRn again at the same timing. Similar operation
is continued hereafter.
The slave channel operates as a down counter in the event counter mode and controls the thinning of INTTMn
signals of the master channel.
TCRm loads the value of TDRm by setting the channel start trigger bit (TSm) to 1.
TCRm counts down along with the INTTMn output of the master channel, and loads the value of TDRm again and
outputs INTTMm when TCRm becomes 0000H. Similar operation is continued hereafter.
TOn and TOm cannot be used, because TOn and TOm becomes an irregular waveform that depends on external
events.
TDRn of the master channel becomes valid from the next start timing (master channel INTTMn generation).
TDRm of the slave channel becomes valid from the next start timing (slave channel INTTMm generation).
Remark
n = 00
m = 01