mc68hc05ct4fn Freescale Semiconductor, Inc, mc68hc05ct4fn Datasheet - Page 96

no-image

mc68hc05ct4fn

Manufacturer Part Number
mc68hc05ct4fn
Description
Mc68hc05 Family Of Microcontrollers Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Pulse Width Modulator (PWM)
12.4 PWM Data Register
General Release Specification
Address:
One PWM data register (PWMDR), located at $0020, is associated with
the PWM system. This 8-bit data register holds the duty cycle for the
PWM output; however, only six of these bits are used. PWMDR can be
written to and read at any time. Writes to the PWMDR are buffered and
are not transferred to the active register until the end of the PWM cycle
during which the write was executed.
Upon RESET the user should write to the data register prior to enabling
the PWM system (for example, prior to setting the PWME bit in the
miscellaneous control register). This avoids an erroneous duty cycle
from being driven.
PWME — Miscellaneous Control Register PWM Enable Bit
Reset:
Read:
Write:
When set, this bit enables the PWM subsystem. Its main function is to
allow the user to save power when not using the PWM. When
enabled, the clocks are active to the module. When clear, this bit
shuts off the clocks to the module and relinquishes control of PC7 to
the port C logic (the PC7 pullup option should not be selected if the
PWM is used). Reset clears this bit. This bit is located in the
miscellaneous control register found in
Freescale Semiconductor, Inc.
For More Information On This Product,
$0020
Bit 7
0
Pulse Width Modulator (PWM)
Figure 12-3. PWM Data Register (PWMDR)
Go to: www.freescale.com
6
0
5
Unaffected by Reset
4
Section 13.
3
MC68HC05CT4
2
Comparators.
1
Rev. 2.0
Bit 0

Related parts for mc68hc05ct4fn