Figure 18.14 Input Capture Buffer Operation; Figure 18.15 Example Of Buffer Operation Setting Procedure - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 18 Multi-Function Timer Pulse Unit (MTU)
• 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 18.14.
Input capture
signal
Buffer
register
Example of Buffer Operation Setting Procedure: Figure 18.15 shows an example of the buffer
operation setting procedure.
Buffer operation
Select TGR function
Set buffer operation
Start count
<Buffer operation>

Figure 18.15 Example of Buffer Operation Setting Procedure

Rev. 4.00 Sep. 14, 2005 Page 572 of 982
REJ09B0023-0400
Timer general

Figure 18.14 Input Capture Buffer Operation

[1]
[2]
[1]
[3]
[2]
[3]
register
Designate TGR as an input capture register or output
compare register by means of TIOR.
Designate TGR for buffer operation with bits BFA and
BFB in TMDR.
Set the CST bit in TSTR to 1 start the count
operation.
TCNT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents