MC68HC912B32MFU8 MOTOROLA [Motorola, Inc], MC68HC912B32MFU8 Datasheet - Page 66

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, 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
PCLK0 — PWM Channel 0 Clock Select
66
MOTOROLA
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 22.
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 22.
Read and write anytime.
If a clock select is changed while a PWM signal is being generated, a truncated or stretched pulse may
occur during the transition.
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.
0 = Clock A is the clock source for channel 0.
1 = Clock S0 is the clock source for channel 0.
PCLK3
Bit 7
0
PCLK2
6
0
(PCKB2)
PCKA2
Table 22 Clock A and Clock B Prescaler
0
0
0
0
1
1
1
1
PCLK1
5
0
(PCKB1)
PCKA1
0
0
1
1
0
0
1
1
PCLK0
4
0
(PCKB0)
PCKA0
PPOL3
0
1
0
1
0
1
0
1
3
0
Clock A (B)
Value of
PPOL2
P
P
P
P
P
P
P
2
0
P
128
16
32
64
2
4
8
PPOL1
1
0
MC68HC912B32TS/D
PPOL0
Bit 0
MC68HC912B32
0
$0041

Related parts for MC68HC912B32MFU8