BAT32G1x9 user manual | Chapter 8 Timer B
274 / 1149
Rev.1.02
(2) The buffer runs
The TBGRC register and tbGRD register can be set to the TBGRA register and the TBGRA register and the
TBGRD register respectively through the TBBUFA bit and TBBUFB bit of the TBIBOR register Buffer registers for
TBGRB registers.
•
TBGRA's buffer register: TBGRC register
•
TBGRB's buffer registers: TBGRD register buffer operation varies depending on the timer mode. The buffer
operation of each mode is shown in Table 8-6, and the buffer operation of the input capture function and the
output comparison function is shown in Figure 8-13 and Figure 8-14, respectively.
Table 8-6
Buffer operation for each mode
Features and modes
Transmission timing
Registers for transfer
Enter the capture function
Enter the input of the capture signal
Transfers the contents of the TBGRA
(TBGRB)
register to the buffer register.
Output comparison function
TB registers and
TBGRA
(TBGRB).
Comparison matching of registers
Transmits the contents of the buffer register to
TBGRA
(TBGRB) registers.
PWM mode
Figure 8-13 The buffer of the input capture function is running
TB
register
TBIO0 input
(input capture singnal)
TBGRA
register
TBGRC
register
TBIO0 input
TB register
TBGRA register
TBGRC register
(buffer)
above diagram condition as following:
・
TBBUFA bit of TBIOR register is 1 (TBGRC register is the buffer register of TBGRA)
・
TBIOA~TBIOA0 bit of TBIOR register is "100B" (input capture at rising edge)
transmit
transmit