English
Language : 

SH7125_08 Datasheet, PDF (264/774 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 9 Multi-Function Timer Pulse Unit 2 (MTU2)
• 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 9.15.
Input capture
signal
Buffer
register
Timer general
register
TCNT
Figure 9.15 Input Capture Buffer Operation
Example of Buffer Operation Setting Procedure: Figure 9.16 shows an example of the buffer
operation setting procedure.
Buffer operation
Select TGR function
[1]
Set buffer operation
[2]
[1] Designate TGR as an input capture register or
output compare register by means of TIOR.
[2] Designate TGR for buffer operation with bits
BFA and BFB in TMDR.
[3] Set the CST bit in TSTR to 1 start the count
operation.
Start count
[3]
<Buffer operation>
Figure 9.16 Example of Buffer Operation Setting Procedure
Rev. 4.00 Jul. 25, 2008 Page 244 of 750
REJ09B0243-0400