HD6412332 RENESAS [Renesas Technology Corp], HD6412332 Datasheet - Page 524

no-image

HD6412332

Manufacturer Part Number
HD6412332
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412332
Manufacturer:
SMD
Quantity:
6
Part Number:
HD6412332FC25V
Manufacturer:
ALLEGRO
Quantity:
4 340
Part Number:
HD6412332VFC25V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
10.4.5
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 upon overflow/underflow
of TCNT2 (TCNT5) 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.6 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
Table 10.6 Cascaded Combinations
Combination
Channels 1 and 2
Channels 4 and 5
Example of Cascaded Operation Setting Procedure: Figure 10.21 shows an example of the
setting procedure for cascaded operation.
Rev.4.00 Sep. 07, 2007 Page 494 of 1210
REJ09B0245-0400
and the counter operates independently in phase counting mode.
<Cascaded operation>
Cascaded operation
Cascaded Operation
Set cascading
Start count
Figure 10.21 Cascaded Operation Setting Procedure
Upper 16 Bits
TCNT1
TCNT4
[1]
[2]
[1] Set bits TPSC2 to TPSC0 in the channel 1
[2] Set the CST bit in TSTR for the upper and lower
(channel 4) TCR to B'111 to select TCNT2
(TCNT5) overflow/underflow counting.
channel to 1 to start the count operation.
TCNT2
TCNT5
Lower 16 Bits

Related parts for HD6412332