English
Language : 

HD64F2636F20 Datasheet, PDF (409/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Section 10 16-Bit Timer Pulse Unit (TPU)
• When TGR is an input capture register
When input capture occurs, the value in TCNT is transferred to TGR and the value previously
held in the timer general register is transferred to the buffer register.
This operation is illustrated in figure 10-17.
Input capture
signal
Buffer register
Timer general
register
TCNT
Figure 10-17 Input Capture Buffer Operation
Example of Buffer Operation Setting Procedure: Figure 10-18 shows an example of the buffer
operation setting procedure.
Buffer operation
Select TGR function
Set buffer operation
[1] Designate TGR as an input capture register or
output compare register by means of TIOR.
[2] Designate TGR for buffer operation with bits
[1]
BFA and BFB in TMDR.
[3] Set the CST bit in TSTR to 1 to start the count
[2]
operation.
Start count
[3]
<Buffer operation>
Figure 10-18 Example of Buffer Operation Setting Procedure
REJ09B0103-0800 Rev. 8.00
May 28, 2010
Page 359 of 1458