English
Language : 

MC68HC05V12 Datasheet, PDF (116/246 Pages) Freescale Semiconductor, Inc – HCMOS Microcontreller Unit
Freescale Semiconductor, Inc.
Pulse Width Modulators (PWMs)
11.4 PWM Registers
Associated with each PWM system, there is a PWM data register and a
control register. These registers can be written to and read at any time.
Data written to the data register is held in a buffer and transferred to the
PWM data register at the end of a PWM cycle. Reads of this register will
always result in the read of the PWM data register and not the buffer.
Upon reset the user should write to the data register prior to enabling the
PWM system (for example, prior to setting the PSAx and PSBx bits for
PWM input clock rate). This will avoid an erroneous duty cycle from
being driven. During user mode, the user should write to the PWM data
register after writing the PWM control register.
Y
INITIALIZE PWM DATA 0
POR
OR RESET
N
WRITE PWM CONTROL
WRITE PWM CONTROL
WRITE PWM DATA 1
Figure 11-4. PWM Write Sequences
Technical Data
Pulse Width Modulators (PWMs)
For More Information On This Product,
Go to: www.freescale.com
MC68HC05V12 — Rev. 2.0