HD6433308 HITACHI [Hitachi Semiconductor], HD6433308 Datasheet - Page 161

no-image

HD6433308

Manufacturer Part Number
HD6433308
Description
Hitachi Single-Chip MicroComputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433308CP
Quantity:
5 510
Part Number:
HD6433308CP
Quantity:
5 510
Part Number:
HD6433308CP97CP
Manufacturer:
HITACAI
Quantity:
20 000
Part Number:
HD6433308FL18
Manufacturer:
HITACHI
Quantity:
648
Part Number:
HD6433308L71F
Manufacturer:
RENESAS
Quantity:
176
Part Number:
HD6433308RL60F
Manufacturer:
TOSHIBA
Quantity:
2 160
6.5 Interrupts
The free-running timer channel can request seven types of interrupts: input capture A to D (ICIA,
ICIB, ICIC, ICID), output compare A and B (OCIA and OCIB), and overflow (FOVI). Each
interrupt is requested when the corresponding enable and flag bits are set. Independent signals are
sent to the interrupt controller for each type of interrupt. Table 6-3 lists information about these
interrupts.
Table 6-3. Free-Running Timer Interrupts
Interrupt
ICIA
ICIB
ICIC
ICID
OCIA
OCIB
FOVI
6.6 Sample Application
In the example below, the free-running timer channel is used to generate two square-wave outputs
with a 50% duty factor and arbitrary phase relationship. The programming is as follows:
(1) The CCLRA bit in the TCSR is set to “1.”
(2) Each time a compare-match interrupt occurs, software inverts the corresponding output level
bit in TOCR (OLVLA or OLVLB).
H’FFFF
OCRA
OCRB
H’0000
FTOA
FTOB
Description
Requested when ICFA and ICIAE are set
Requested when ICFB and ICIBE are set
Requested when ICFC and ICICE are set
Requested when ICFD and ICIDE are set
Requested when OCFA and OCIAE are set
Requested when OCFB and OCIBE are set
Requested when OVF and OVIE are set
Figure 6-20. Square-Wave Output (Example)
FRC
146
Clear counter
Priority
High
Low

Related parts for HD6433308