
BAT32G1x9 user manual | Chapter 10 Timer M
381 / 1149
Rev.1.02
(2) Change of output pins of the TMGRCi register and the TMGRDi register (i=0, 1).
The TMGRCi register and the TMGRDi register can be used for output control of the TMIOAi pin and the
TMIOBi pin, respectively. Therefore, the output control of each pin can be performed as follows:
•
The TMIOAi output is controlled by the value of the TMGRAi register and the value of the
TMGRCi register.
•
The TMIOBi output is controlled by the value of the TMGRBi register and the value of the
TMGRDi register.
Figure 10-51 Changes to the output pins of TMGRCi and TMGRDi
Timer M0
TMIOA0
TMIOC0
TMIOB0
TMIOD0
TMIOA1
TMIOC1
TMIOB1
TMIOD1
TMIOC0 register
TMIOC0 register
TMIOC1 register
TMIOC1 register
TM0
TMGRA0
TMGRC0
TMGRB0
TMGRD0
TM1
TMGRA1
TMGRC1
TMGRB1
TMGRD1
compare matching signal
compare matching signal
compare matching signal
compare matching signal
compare matching signal
compare matching signal
compare matching signal
compare matching signal
Timer RD1
output
control
output
control
output
control
output
control
output
control
output
control
output
control
output
control
comparator
comparator
comparator
comparator
comparator
comparator
comparator
comparator
To change the output pins of the TMGRCi register and the TMGRDi register, the following settings must be
made:
• Select "0" (TMGRji) via the IOj3 bit (j=C, D) of the TMIORCi register Changes to the output pins of the
register).
•
Place the TMBFji position of the TMMR register "0" (general purpose register).
•
Set different values for the TMGRAi register and the TMGRCi register, and set different values for
the TMGRBi register and the TMGRDi register.