|
HD6433308 Datasheet, PDF (185/349 Pages) Hitachi Semiconductor – Hitachi Single-Chip MicroComputer | |||
|
◁ |
Section 8. PWM Timers
8.1 Overview
The H8/330 has an on-chip pulse-width modulation (PWM) timer module with two independent
channels (PWM0 and PWM1). Both channels are functionally identical. Each PWM channel
generates a rectangular output pulse with a duty factor of 0 to 100%. The duty factor is specified in
an 8-bit duty register (DTR).
8.1.1 Features
The PWM timer module has the following features:
⢠Selection of eight clock sources
⢠Duty factors from 0 to 100% with 1/250 resolution
⢠Output with positive or negative logic and software enable/disable control
8.1.2 Block Diagram
Figure 8-1 shows a block diagram of one PWM timer channel.
Pulse
Output
control
Compare-match
DTR
Comparator
TCNT
Internal
data bus
TCR
Clock
TCR: Timer Control Register (8 bits)
DTR: Duty Register (8 bits)
TCNT: Timer Counter (8 bits)
Clock
select
Ã/2
Ã/8
Ã/32
Ã/128
Ã/256
Ã/1024
Ã/2048
Ã/4096
Internal clock sources
Figure 8-1. Block Diagram of PWM Timer
171
|
▷ |