mc68hc05pv8a Freescale Semiconductor, Inc, mc68hc05pv8a Datasheet - Page 152

no-image

mc68hc05pv8a

Manufacturer Part Number
mc68hc05pv8a
Description
Mc68hc05pv8a Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Technical Data
11.4.3 PWM Period Register
11.5 PWM During WAIT Mode
11.6 PWM During STOP Mode
11.7 PWM During Reset
Technical Data
The PWM system has an 8-bit period register that holds the PWM
period. The frame frequency of the PWM system is defined as
f
This register can be written at any time. The period of the output changes
after the current cycle.
The PWM continues normal operation during WAIT mode. To decrease
power consumption during WAIT it is recommended to shut off the PWM
by clearing the PWMON bit if the PWM system is not used.
In STOP mode the oscillator is stopped, causing the PWM to cease
functioning. Any signal in process is aborted in whatever phase the
signal happens to be in.
Upon reset the PWMON and PRA3–0 bits in the PWM control register
are cleared, the data register is written with $00 and the polarity bit is
reset. This in effect disables the PWM system and sets the output driving
high. The user should write to the data register, the period register, the
polarity bit and the clock rate bits prior to enabling the PWM system (i.e.
prior to setting PWMON). This prevents an erroneous duty cycle from
being driven.
frame
$002C
Reset:
Read:
Write:
Freescale Semiconductor, Inc.
For More Information On This Product,
=f
PWM
Bit 7
bit 7
1
Figure 11-6 PWM Period Register (PWMPR)
/(PWMPR + 1).
Go to: www.freescale.com
Pulse Width Modulator
bit 6
6
1
bit 5
5
1
bit 4
4
1
bit 3
3
1
MC68HC(8)05PV8/A — Rev. 1.9
bit 2
2
1
bit 1
1
1
Bit 0
bit 0
1

Related parts for mc68hc05pv8a