
Section 9 16-Bit Timer Pulse Unit (TPU)
Rev. 3.00 Mar. 14, 2006 Page 307 of 804
REJ09B0104-0300
9.4.3 Buffer
Operation
Buffer operation, provided for channels 0 and 3, enables TGRC and TGRD to be used as buffer
registers.
Buffer operation differs depending on whether TGR has been designated as an input capture
register or a compare match register.
Table 9.31 shows the register combinations used in buffer operation.
Table 9.31 Register Combinations in Buffer Operation
Channel
Timer General Register Buffer
Register
TGRA_0 TGRC_0
0
TGRB_0 TGRD_0
TGRA_3 TGRC_3
3
TGRB_3 TGRD_3
•
When TGR is an output compare register
When a compare match occurs, the value in the buffer register for the corresponding channel is
transferred to the timer general register.
This operation is illustrated in figure 9.13.
Buffer register
Timer general
register
TCNT
Comparator
Compare match signal
Figure 9.13 Compare Match Buffer Operation
electronic components distributor