English
Language : 

MC68HC912DG128 Datasheet, PDF (195/452 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Pulse Width Modulator
PWM Register Description
12.3 PWM Register Description
PWCLK — PWM Clocks and Concatenate
Bit 7
6
5
CON23 CON01 PCKA2
RESET:
0
0
0
4
PCKA1
0
3
PCKA0
0
2
PCKB2
0
1
PCKB1
0
Bit 0
PCKB0
0
$0040
Read and write anytime.
CON23 — Concatenate PWM Channels 2 and 3
When concatenated, channel 2 becomes the high-order byte and
channel 3 becomes the low-order byte. Channel 2 output pin is used
as the output for this 16-bit PWM (bit 2 of port P). Channel 3 clock-
select control bits determines the clock source. Channel 3 output pin
becomes a general purpose I/O.
0 = Channels 2 and 3 are separate 8-bit PWMs.
1 = Channels 2 and 3 are concatenated to create one 16-bit PWM
channel.
CON01 — Concatenate PWM Channels 0 and 1
When concatenated, channel 0 becomes the high-order byte and
channel 1 becomes the low-order byte. Channel 0 output pin is used
as the output for this 16-bit PWM (bit 0 of port P). Channel 1 clock-
select control bits determine the clock source. Channel 1 output pin
becomes a general purpose I/O.
0 = Channels 0 and 1 are separate 8-bit PWMs.
1 = Channels 0 and 1 are concatenated to create one 16-bit PWM
channel.
PCKA2 – PCKA0 — Prescaler for Clock A
Clock A is one of two clock sources which may be used for channels
0 and 1. These three bits determine the rate of clock A, as shown in
Table 12-1.
MC68HC912DG128 — Rev 3.0
MOTOROLA
Pulse Width Modulator
For More Information On This Product,
Go to: www.freescale.com
Technical Data
195