RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 493 of 1006
Feb 20, 2013
•
When TPUm.TGRy is an input capture register
When input capture occurs, the value in TPUm.TCNT is transferred to TGRy and the value previously held in
TGRy is transferred to the buffer register.
This operation is shown in figure 15.14.
Input capture
signal
Buffer register
TCNT
Timer general
register
Figure 15.14 Input Capture Buffer Operation
(1)
Example of Buffer Operation Setting Procedure
Figure 15.15 shows an example of the buffer operation setting procedure.
Select TGRm function
Buffer operation
Set buffer operation
Start count
<Buffer operation>
[1]
[2]
[3]
Set TGRy as an input capture register or
output compare register by TIOR (y = A to D).
[1]
Set TGRy for buffer operation with bits
BFA and BFB in TMDR.
[2]
Set the CSTj bit in TSTRy to 1 to start
count operation (y = A, B, j = 0 to 5).
[3]
Figure 15.15 Example of Buffer Operation Setting Procedure
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...