English
Language : 

MC68HC912BL16 Datasheet, PDF (69/128 Pages) Freescale Semiconductor, Inc – 16-Bit Microcontroller
Freescale Semiconductor, Inc.
PSBCK
LIMBDM
ECLK
0:0:0
0:0:1
PSBCK IS BIT 0 OF PWCTL REGISTER.
INTERNAL SIGNAL LIMBDMIS ONE IF THE MCU IS IN BACKGROUND DEBUG MODE.
CLOCK A
0:0:0
÷2
0:0:1
=0
8-BIT DOWN COUNTER
PWSCNT0
0:1:0
÷2
0:1:0
0:1:1
÷2
0:1:1
1:0:0
÷2
1:0:0
1:0:1
÷2
1:0:1
1:1:0
÷2
1:1:0
1:1:1
÷2
1:1:1
8-BIT SCALE REGISTER
PWSCAL0
÷2
CLOCK B
8-BIT DOWN COUNTER = 0
PWSCNT1
BITS:
PCKB2,
PCKB1,
PCKB0
REGISTER:
PWPRES
BITS:
PCKA2,
PCKA1,
PCKA0
8-BIT SCALE REGISTER
PWSCAL1
÷2
*CLOCK S0 = (CLOCK A)/2, (CLOCK A)/4, (CLOCK A)/6,... (CLOCK A)/512
**CLOCK S1 = (CLOCK B)/2, (CLOCK B)/4, (CLOCK B)/6,... (CLOCK B)/512
Figure 19 PWM Clock Sources
CLOCK TO PWM
CHANNEL 0
PCLK0
CLOCK TO PWM
CHANNEL 1
PCLK1
CLOCK TO PWM
CHANNEL 2
PCLK2
CLOCK TO PWM
CHANNEL 3
PCLK3
11.1 PWM Register Description
PWCLK — PWM Clocks and Concatenate
RESET:
Bit 7
CON23
0
6
CON01
0
5
PCKA2
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.
0 = Channels 2 and 3 are separate 8-bit PWMs.
1 = Channels 2 and 3 are concatenated to create one 16-bit PWM channel.
MC68HC912BL16TS/D
For More Information On This Product,
69
Go to: www.freescale.com