HD6433045 HITACHI [Hitachi Semiconductor], HD6433045 Datasheet - Page 349

no-image

HD6433045

Manufacturer Part Number
HD6433045
Description
Hitachi Single-Chip Microcomputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433045A58F
Manufacturer:
PWRT
Quantity:
4 172
Part Number:
HD6433045SA27F
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6433045SA28FV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433045SA37FV
Manufacturer:
RENESAS
Quantity:
1 000
1. Set bits TPSC2 to TPSC0 in TCR to select the counter clock source. If an external clock
2. For periodic counting, set CCLR1 and CCLR0 in TCR to have TCNT cleared at GRA
3. Set TIOR to select the output compare function of GRA or GRB, whichever was selected in
4. Write the count period in GRA or GRB, whichever was selected in step 2.
5. Set the STR bit to 1 in TSTR to start the timer counter.
Select counter clear source
Select output compare
source is selected, set bits CKEG1 and CKEG0 in TCR to select the desired edge(s) of the
external clock signal.
compare match or GRB compare match.
step 2.
Select counter clock
Type of counting?
Periodic counting
Periodic counter
register function
Counter setup
Start counter
Set period
Yes
Figure 10-14 Counter Setup Procedure (Example)
No
1
2
3
4
5
337
Free-running counting
Free-running counter
Start counter
5

Related parts for HD6433045