Cascaded Operation; Figure 10.16 Example Of Buffer Operation (2); Table 10.29 Cascaded Combinations - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

TCNT value
H'0F07
H'09FB
H'0532
H'0000
TIOCA
TGRA
TGRC
10.4.4

Cascaded Operation

In cascaded operation, two 16-bit counters for different channels are used together as a 32-bit
counter.
This function works by counting the channel 1 (channel 4) counter clock at overflow/underflow of
TCNT_2 (TCNT_5) as set in bits TPSC2 to TPSC0 in TCR.
Underflow occurs only when the lower 16-bit TCNT is in phase counting mode.
Table 10.29 shows the register combinations used in cascaded operation.
Note: When phase counting mode is set for channel 1 or 4, the counter clock setting is invalid
and the counter operates independently in phase counting mode.

Table 10.29 Cascaded Combinations

Combination
Channels 1 and 2
Channels 4 and 5
Rev. 2.00, 05/03, page 422 of 820
H'0532

Figure 10.16 Example of Buffer Operation (2)

Upper 16 Bits
TCNT_1
TCNT_4
H'0F07
H'09FB
H'0532
H'0F07
Lower 16 Bits
TCNT_2
TCNT_5
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents