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

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
11.1 PWM Register Description
PWCLK — PWM Clocks and Concatenate
CON23 — Concatenate PWM Channels 2 and 3
MC68HC912B32
MC68HC912B32TS/D
LIMBDM
PSBCK
PCLK
RESET:
*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
BITS:
PCKB2,
PCKB1,
PCKB0
Read and write anytime.
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:0:0
0:0:1
0:1:0
0:1:1
1:0:0
1:0:1
1:1:0
1:1:1
0 = Channels 2 and 3 are separate 8-bit PWMs.
1 = Channels 2 and 3 are concatenated to create one 16-bit PWM channel.
CON23
Bit 7
PSBCK IS BIT 0 OF PWCTL REGISTER.
INTERNAL SIGNAL LIMBDM IS ONE IF THE MCU IS IN BACKGROUND DEBUG MODE.
REGISTER:
PWPRES
0
2
2
2
2
2
2
2
CON01
6
0
0:0:0
0:0:1
0:1:0
1:0:0
1:1:0
0:1:1
1:0:1
1:1:1
BITS:
PCKA2,
PCKA1,
PCKA0
PCKA2
5
0
Figure 17 PWM Clock Sources
PCKA1
8-BIT DOWN COUNTER
8-BIT SCALE REGISTER
8-BIT DOWN COUNTER
8-BIT SCALE REGISTER
4
0
PWSCNT1
PWSCNT0
PWSCAL0
PWSCAL1
PCKA0
CLOCK B
CLOCK A
3
0
PCKB2
= 0
= 0
2
0
2
2
PCKB1
1
0
PCLK3
PCLK2
PCLK0
PCLK1
PCKB0
Bit 0
0
CLOCK TO PWM
CHANNEL 1
CLOCK TO PWM
CHANNEL 2
CLOCK TO PWM
CHANNEL 3
CLOCK TO PWM
CHANNEL 0
MOTOROLA
$0040
65

Related parts for MC68HC912B32MFU8