English
Language : 

SH7065 Datasheet, PDF (440/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
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
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.
TCNT
Buffer operation
Select TGR function
1
Set buffer operation
2
Set external pin function 3
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 external pin function with the
pin function controller (PFC).
4. Set the CST bit in TSTR to 1 to start
the count operation.
Start count operation 4
<Buffer operation>
Figure 10.18 Example of Buffer Operation Setting Procedure
Rev. 5.00 Sep 11, 2006 page 418 of 916
REJ09B0332-0500