mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 450

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 15 Pulse-Width Modulator (PWM8B6CV1)
15.3.2.4
This register selects the prescale clock source for clocks A and B independently.
Read: anytime
Write: anytime
450
PCKB[2:0]
PCKA[2:0]
PCLK2
PCLK1
PCLK0
Reset
Field
Field
6:5
2:0
2
1
0
W
R
Pulse Width Channel 2 Clock Select
0 Clock B is the clock source for PWM channel 2.
1 Clock SB is the clock source for PWM channel 2.
Pulse Width Channel 1 Clock Select
0 Clock A is the clock source for PWM channel 1.
1 Clock SA is the clock source for PWM channel 1.
Pulse Width Channel 0 Clock Select
0 Clock A is the clock source for PWM channel 0.
1 Clock SA is the clock source for PWM channel 0.
Prescaler Select for Clock B — Clock B is 1 of two clock sources which can be used for channels 2 or 3. These
three bits determine the rate of clock B, as shown in
Prescaler Select for Clock A — Clock A is 1 of two clock sources which can be used for channels 0, 1, 4, or 5.
These three bits determine the rate of clock A, as shown in
PWM Prescale Clock Select Register (PWMPRCLK)
0
0
7
PCKB2–PCKB0 and PCKA2–PCKA0 register bits can be written anytime.
If the clock prescale is changed while a PWM signal is being generated, a
truncated or stretched pulse can occur during the transition.
Figure 15-6. PWM Prescaler Clock Select Register (PWMPRCLK)
= Unimplemented or Reserved
PCKB2
0
6
Table 15-4. PWMCLK Field Descriptions (continued)
Table 15-5. PWMPRCLK Field Descriptions
PCKB1
MC9S12HZ256 Data Sheet, Rev. 2.05
0
5
PCKB0
NOTE
0
4
Description
Description
Table
15-6.
Table
0
0
3
15-7.
PCKA2
0
2
PCKA1
Freescale Semiconductor
0
1
PCKA0
0
0

Related parts for mc9s12hz256v2