English
Language : 

HD6417034 Datasheet, PDF (318/691 Pages) Renesas Technology Corp – SuperH RISC ENGINE SH7032 AND SH7034
TCNT value
GRB
H' 0250
H' 0200
H' 0100
H' 0000
BRA
GRA
H' 0200
H' 0250
TIOCB
TIOCA
Counter cleared by compare match B
H' 0100
H' 0200
H' 0100
H' 0200
H' 0200
Time
Toggle
output
Toggle
output
Compare match A
Figure 10.48 Buffer Mode Operation Example 1 (Output Compare Register)
CK
TCNT
n
n+1
Compare
match signal
Buffer
transfer signal
BR
N
GR
n
N
Figure 10.49 Compare Match Timing Example for Buffer Operation
Figure 10.50 shows an example of input capture operation in buffer mode between GRA and BRA
with GRA as an input capture register. 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 BRA. The timing is shown in figure 10.51.
282