English
Language : 

MC9S12HY64 Datasheet, PDF (398/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Pulse-Width Modulator (S12PWM8B8CV1)
Module Base + 0x0003
7
6
5
4
3
2
1
R
0
0
PCKB2
PCKB1
PCKB0
PCKA2
PCKA1
W
Reset
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 11-6. PWM Prescale Clock Select Register (PWMPRCLK)
Read: Anytime
Write: Anytime
NOTE
PCKB2–0 and PCKA2–0 register bits can be written anytime. If the clock
pre-scale is changed while a PWM signal is being generated, a truncated or
stretched pulse can occur during the transition.
Table 11-4. PWMPRCLK Field Descriptions
0
PCKA0
0
Field
Description
6–4
Prescaler Select for Clock B — Clock B is one of two clock sources which can be used for channels 2, 3, 6, or
PCKB[2:0] 7. These three bits determine the rate of clock B, as shown in Table 11-5.
2–0
Prescaler Select for Clock A — Clock A is one of two clock sources which can be used for channels 0, 1, 4 or
PCKA[2:0] 5. These three bits determine the rate of clock A, as shown in Table 11-6.
s
Table 11-5. Clock B Prescaler Selects
PCKB2
0
0
0
0
1
1
1
1
PCKB1
0
0
1
1
0
0
1
1
PCKB0
0
1
0
1
0
1
0
1
Value of Clock B
Bus clock
Bus clock / 2
Bus clock / 4
Bus clock / 8
Bus clock / 16
Bus clock / 32
Bus clock / 64
Bus clock / 128
Table 11-6. Clock A Prescaler Selects
PCKA2
0
0
0
0
1
1
1
1
PCKA1
0
0
1
1
0
0
1
1
PCKA0
0
1
0
1
0
1
0
1
Value of Clock A
Bus clock
Bus clock / 2
Bus clock / 4
Bus clock / 8
Bus clock / 16
Bus clock / 32
Bus clock / 64
Bus clock / 128
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
398
Freescale Semiconductor