Download Print this page

Hitachi H8S/2633 Hardware Manual page 483

Advertisement

Examples of Cascaded Operation: Figure 11-22 illustrates the operation when counting upon
TCNT2 overflow/underflow has been set for TCNT1, TGR1A and TGR2A have been designated
as input capture registers, and TIOC pin rising edge has been selected.
When a rising edge is input to the TIOCA1 and TIOCA2 pins simultaneously, the upper 16 bits of
the 32-bit data are transferred to TGR1A, and the lower 16 bits to TGR2A.
TCNT1
clock
TCNT1
H'03A1
TCNT2
clock
TCNT2
H'FFFF
TIOCA1,
TIOCA2
TGR1A
TGR2A
Figure 11-23 illustrates the operation when counting upon TCNT2 overflow/underflow has been
set for TCNT1, and phase counting mode has been designated for channel 2.
TCNT1 is incremented by TCNT2 overflow and decremented by TCNT2 underflow.
TCLKA
TCLKB
TCNT2
TCNT1
460
Figure 11-22 Example of Cascaded Operation (1)
FFFD
FFFE
FFFF
0000
Figure 11-23 Example of Cascaded Operation (2)
H'03A2
H'0000
H'03A2
H'0000
0000
0001
0002
0001
H'0001
0001
0000
FFFF
0000

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631