Hitachi SH7032 Hardware Manual page 317

Superh risc engine
Table of Contents

Advertisement

TCNT value
GRB
H' 0250
H' 0200
H' 0100
H' 0000
H' 0200
BRA
GRA
H' 0250
TIOCB
TIOCA
Figure 10.48 Buffer Mode Operation Example 1 (Output Compare Register)
CK
TCNT
Compare
match signal
Buffer
transfer signal
BR
GR
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
Counter cleared by compare match B
H' 0100
H' 0200
H' 0100
Compare match A
n
n
H' 0200
H' 0200
n + 1
N
N
Time
Toggle
output
Toggle
output

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents