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

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
11.5 Sample Application
In the example below, the 8-bit timer is used to generate a pulse output with a selected duty factor.
The control bits are set as follows:
1. In the TCR, CCLR1 is cleared to “0” and CCLR0 is set to “1” so that the timer counter is
2. In the TCSR, bits OS3 to OS0 are set to “0110,” causing the output to change to “1” on
With these settings, the 8-bit timer provides output of pulses at a rate determined by TCORA with
a pulse width determined by TCORB. No software intervention is required.
cleared when its value matches the constant in TCORA.
compare-match A and to “0” on compare-match B.
H’FF
TCORA
TCORB
H’00
TMO pin
Figure 11-8 Example of Pulse Output
TCNT
219
Clear counter

Related parts for HD6475328-CP10