English
Language : 

MC68HC12 Datasheet, PDF (229/478 Pages) Motorola, Inc – The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Pulse Width Modulator
PWM Register Descriptions
14.3 PWM Register Descriptions
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 14-1.
PCKB2 – PCKB0 — Prescaler for Clock B
Clock B is one of two clock sources which may be used for channels
2 and 3. These three bits determine the rate of clock B, as shown in
Table 14-1.
MC68HC912DT128A — Rev 4.0
MOTOROLA
Pulse Width Modulator
Technical Data
229