HD6433044 Hitachi Semiconductor, HD6433044 Datasheet - Page 377

no-image

HD6433044

Manufacturer Part Number
HD6433044
Description
(HD64 Series) Hitachi Single-Chip Microcomputer
Manufacturer
Hitachi Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433044A00FV
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433044F16
Manufacturer:
HITACHI
Quantity:
5 530
Part Number:
HD6433044F16
Manufacturer:
IDT
Quantity:
3 198
Part Number:
HD6433044F16
Manufacturer:
HITACHI
Quantity:
648
Part Number:
HD6433044F16A00
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433044F18
Manufacturer:
HITACHI
Quantity:
5 530
Part Number:
HD6433044F18
Manufacturer:
HIT
Quantity:
1 000
Part Number:
HD6433044F18
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433044F18M08
Manufacturer:
TI
Quantity:
403
Part Number:
HD6433044F18M08
Manufacturer:
HIT
Quantity:
1 000
Part Number:
HD6433044F18M08
Manufacturer:
HITACHI/日立
Quantity:
20 000
10.4.7 Phase Counting Mode
In phase counting mode the phase difference between two external clock inputs (at the TCLKA
and TCLKB pins) is detected, and TCNT2 counts up or down accordingly.
In phase counting mode, the TCLKA and TCLKB pins automatically function as external clock
input pins and TCNT2 becomes an up/down-counter, regardless of the settings of bits TPSC2 to
TPSC0, CKEG1, and CKEG0 in TCR2. Settings of bits CCLR1, CCLR0 in TCR2, and settings in
TIOR2, TIER2, TSR2, GRA2, and GRB2 are valid. The input capture and output compare
functions can be used, and interrupts can be generated.
Phase counting is available only in channel 2.
Sample Setup Procedure for Phase Counting Mode: Figure 10-43 shows a sample procedure
for setting up phase counting mode.
Select phase counting mode
Select flag setting condition
Figure 10-43 Setup Procedure for Phase Counting Mode (Example)
Phase counting mode
Phase counting mode
Start counter
1
2
3
365
1.
2.
3.
Set the MDF bit in TMDR to 1 to select
phase counting mode.
Select the flag setting condition with
the FDIR bit in TMDR.
Set the STR2 bit to 1 in TSTR to start
the timer counter.

Related parts for HD6433044