English
Language : 

SH7020 Datasheet, PDF (294/509 Pages) Renesas Technology Corp – SuperH™ RISC engine
Figure 10.50 shows an example of input capture operation in the buffer mode between GRA and
BRA with GRA as an input capture register. The TCNT is cleared by input capture B. The falling
edge is selected as the input capture edge at TIOCB. Both edges are selected as input capture
edges at TIOCA. When the TCNT value is stored in GRA by input capture A, the previous GRA
value is transferred to the BRA. The timing is shown in figure 10.51.
TCNT value
H' 0180
H' 0160
Counter cleared
at input capture B
H' 0005
TIOCB
TIOCA
GRA
BRA
GRB
Time
H' 0005
H' 0160
H' 0005
H' 0160
H' 0180
Input capture A
Figure 10.50 Buffer Mode Operation Example 2 (Input Capture Register)
278 RENESAS