BAT32G1x9 user manual | Chapter 10 Timer M
366 / 1149
Rev.1.02
10.4.2
The buffer operation
The TMBFCi (i=0, 1)bits and TMBFDi bits of the TMMR registers can be combined with the TMBRCi
registers The TMGRDi registers are set as buffer registers for the TMGRAi registers and the TMGRBi
registers, respectively.
•
Buffer register for TMGRAi: TMGRCi register
•
Buffer register for TMGRBi: TMGRDi register
Buffer operation varies depending on the timer mode, and the buffer operation of each mode is shown in
Table 10-10.
Table 10-10
Buffer operation for each mode
Features and
modes
Transmission timing
Registers for transfer
Timer
mode
Enter the
capture
function
The input signal of TMIOAi
(Input to capture signal)
Transfer the contents of the TMGRAi
register
to the
TMGRCi
register (buffer register).
The input signal of the TMIOBi
(Input to capture signal)
Transfer the contents of the TMGRBi
register
to the
TMGRDi
register (buffer register).
Output
comparison
function
Comparison matching of TMi registers and
TMGRAi registers
Transfer the contents of the TMGRCi
register
(buffer register) to the
TMGRAi
register.
Comparison matching of TMi registers and
TMGRBi registers
Transfer the contents of the TMGRDi
register
(buffer register) to the
TMGRBi
register.
PWM function
Comparison matching of TMi registers and
TMGRAi registers
Transfer the contents of the TMGRCi
register
(buffer register) to the
TMGRAi
register.
Comparison matching of TMi registers and
TMGRBi registers
Transfer the contents of the TMGRDi
register
(buffer register) to the
TMGRBi
register.
Reset synchronous
PWM
mode
Comparison matching of TM0 registers and
TMGRA0 registers
Transfer the contents of the TMGRCi
register
(buffer register) to the
TMGRAi
register.
Transfer the contents of the TMGRDi
register
(buffer register) to the
TMGRBi
register.
Complementary PWM
mode
• When the CMD1 bits and CMD0 bits of the
TMFCR register are "11B", it is the underflow
of the TMFCR register.
• When the CMD1 bit and CMD0 bits of the
TMFCR register are "10B", the comparison
match between the TMFCR register and the
TMGRA0 register is matched.
Transfers the contents of the TMGRC1
register (buffer register) to the
TMGGRA1
register.
Transfer the contents of the TMGRDi
register
(buffer register) to the
TMGRBi
register.
PWM3 mode
Comparison matching of TM0 registers and
TMGRA0 registers
Transfer the contents of the TMGRCi
register
(buffer register) to the
TMGRAi
register.
Transfer the contents of the TMGRDi
register
(buffer register) to the
TMGRBi
register.
Note i = 0,
1