MC68HC912D60 Motorola, MC68HC912D60 Datasheet - Page 215

no-image

MC68HC912D60

Manufacturer Part Number
MC68HC912D60
Description
Microcontrollers
Manufacturer
Motorola
Datasheet
PWPRES — PWM Prescale Counter
PWSCAL0 — PWM Scale Register 0
MC68HC912D60A — Rev 3.0
MOTOROLA
RESET:
RESET:
Bit 7
Bit 7
Bit 7
0
0
0
Bit 6
6
0
6
6
0
PWEN0 — PWM Channel 0 Enable
PWPRES is a free-running 7-bit counter. Read anytime. Write only in
special mode (SMOD = 1).
Read and write anytime. A write will cause the scaler counter PWSCNT0
to load the PWSCAL0 value unless in special mode with DISCAL = 1 in
the PWTST register.
PWM channels 0 and 1 can select clock S0 (scaled) as its input clock by
setting the control bit PCLK0 and PCLK1 respectively. Clock S0 is
generated by dividing clock A by the value in the PWSCAL0 register + 1
and dividing again by two. When PWSCAL0 = $FF, clock A is divided by
256 then divided by two to generate clock S0.
The pulse modulated signal will be available at port P, bit 0 when its
clock source begins its next cycle.
Freescale Semiconductor, Inc.
For More Information On This Product,
0 = Channel 0 is disabled.
1 = Channel 0 is enabled.
5
5
0
5
5
0
Go to: www.freescale.com
Pulse Width Modulator
4
4
0
4
4
0
3
3
0
3
3
0
2
2
0
2
2
0
1
1
0
1
1
0
PWM Register Description
Pulse Width Modulator
Bit 0
Bit 0
Bit 0
Bit 0
0
0
Technical Data
$0043
$0044
215

Related parts for MC68HC912D60