English
Language : 

SH7020 Datasheet, PDF (291/509 Pages) Renesas Technology Corp – SuperH™ RISC engine
Input capture signal
BR
GR
TCNT
Figure 10.46 Input Capture Buffer Operation
Complementary PWM Mode: When the count direction of TCNT3 and TCNT4 change, the BR
value is transferred to the GR. The following timing is employed for this transfer:
• Whenever TCNT3 and GRA3 compare-match
• Whenever TCNT4 underflows
Reset-Synchronized PWM Mode: The BR value is transferred to GR upon a GRA3 compare
match.
Procedure for Selecting the Buffer Mode (figure 10.47):
1. Set the TIOR to select the output compare or input capture function of the GR.
2. Set bits BFA3, BFB3 and BFB4 in the TFCR to select the buffer mode for the GR.
3. Set the STR bit in the TSTR to 1 to start the TCNT counting.
Buffer mode
Select general register function (1)
Select buffer mode
(2)
Start counting
(3)
Buffer mode
Figure 10.47 Procedure for Selecting the Buffer Mode
RENESAS 275