Renesas H8S/2633 Series Hardware Manual page 618

Hide thumbs Also See for H8S/2633 Series:
Table of Contents

Advertisement

• 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 11-17.
Input capture
signal
Buffer register
Example of Buffer Operation Setting Procedure: Figure 11-18 shows an example of the buffer
operation setting procedure.
Buffer operation
Select TGR function
Set buffer operation
Start count
<Buffer operation>
Figure 11-18 Example of Buffer Operation Setting Procedure
564
Timer general
register
Figure 11-17 Input Capture 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
operation.
[2]
[3]
TCNT

Advertisement

Table of Contents
loading

Table of Contents