mc68hc912bl16 Freescale Semiconductor, Inc, mc68hc912bl16 Datasheet - Page 70

no-image

mc68hc912bl16

Manufacturer Part Number
mc68hc912bl16
Description
16-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
CON01 — Concatenate PWM Channels 0 and 1
PCKA2 – PCKA0 — Prescaler for Clock A
PCKB2 – PCKB0 — Prescaler for Clock B
PWPOL — PWM Clock Select and Polarity
PCLK3 — PWM Channel 3 Clock Select
PCLK2 — PWM Channel 2 Clock Select
PCLK1 — PWM Channel 1 Clock Select
70
RESET:
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.
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 23.
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 23.
Read and write anytime.
0 = Channels 0 and 1 are separate 8-bit PWMs.
1 = Channels 0 and 1 are concatenated to create one 16-bit PWM channel.
0 = Clock B is the clock source for channel 3.
1 = Clock S1 is the clock source for channel 3.
0 = Clock B is the clock source for channel 2.
1 = Clock S1 is the clock source for channel 2.
0 = Clock A is the clock source for channel 1.
1 = Clock S0 is the clock source for channel 1.
PCLK3
Bit 7
0
These bits should be changed only when both corresponding channels are dis-
abled. For Left Aligned output mode operation when changing these bits the user
should write to the associated PWM counters as the LAST operation before en-
abling (setting PWENx = 1) the channels(s).
PCLK2
6
0
Freescale Semiconductor, Inc.
(PCKB2)
For More Information On This Product,
PCKA2
Table 23 Clock A and Clock B Prescaler
0
0
0
0
1
1
1
1
PCLK1
5
0
Go to: www.freescale.com
(PCKB1)
PCKA1
0
0
1
1
0
0
1
1
PCLK0
4
0
NOTE
(PCKB0)
PCKA0
PPOL3
0
1
0
1
0
1
0
1
3
0
Clock A (B)
Value of
PPOL2
E
E
E
E
E
E
E
2
0
E
128
16
32
64
2
4
8
PPOL1
1
0
MC68HC912BL16TS/D
PPOL0
MC68HC912BL16
Bit 0
0
$0041

Related parts for mc68hc912bl16