HD6475328-CP10 HITACHI [Hitachi Semiconductor], HD6475328-CP10 Datasheet - Page 217

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
Synchronization on External Clock Source: When the external clock source is selected, the
free-running timers can be synchronized by halting their external clock inputs, then writing
identical values in their free-running counters.
10.7 Sample Application
In the example below, one 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
10.8 Application Notes
Application programmers should note that the following types of contention can occur in the free-
running timers.
Contention between FRC Write and Clear: If an internal counter clear signal is generated
during the T
takes priority and the write is not performed.
bit in the TCSR.
H’FFFF
OCRA
OCRB
H’0000
FTOA pin
FTOB pin
3
state of a write cycle to the lower byte of a free-running counter, the clear signal
Figure 10-11 Square-Wave Output (Example)
FRC
200
Clear counter

Related parts for HD6475328-CP10