English
Language : 

MC9S12GRMV1 Datasheet, PDF (644/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
Pulse-Width Modulator (S12PWM8B8CV2)
Table 19-7. PWMPRCLK Field Descriptions
Field
Description
6–4
Prescaler Select for Clock B — Clock B is one of two clock sources which can be used for all channels. These
PCKB[2:0] three bits determine the rate of clock B, as shown in Table 19-8.
2–0
Prescaler Select for Clock A — Clock A is one of two clock sources which can be used for all channels. These
PCKA[2:0] three bits determine the rate of clock A, as shown in Table 19-8.
s
Table 19-8. Clock A or Clock B Prescaler Selects
PCKA/B2
0
0
0
0
1
1
1
1
PCKA/B1
0
0
1
1
0
0
1
1
PCKA/B0
0
1
0
1
0
1
0
1
Value of Clock A/B
Bus clock
Bus clock / 2
Bus clock / 4
Bus clock / 8
Bus clock / 16
Bus clock / 32
Bus clock / 64
Bus clock / 128
19.3.2.5 PWM Center Align Enable Register (PWMCAE)
The PWMCAE register contains eight control bits for the selection of center aligned outputs or left aligned
outputs for each PWM channel. If the CAEx bit is set to a one, the corresponding PWM output will be
center aligned. If the CAEx bit is cleared, the corresponding PWM output will be left aligned. See
Section 19.4.2.5, “Left Aligned Outputs” and Section 19.4.2.6, “Center Aligned Outputs” for a more
detailed description of the PWM output modes.
Module Base + 0x0004
R
W
Reset
7
CAE7
0
6
CAE6
5
CAE5
4
CAE4
3
CAE3
2
CAE2
1
CAE1
0
0
0
0
0
0
Figure 19-7. PWM Center Align Enable Register (PWMCAE)
0
CAE0
0
Read: Anytime
Write: Anytime
NOTE
Write these bits only when the corresponding channel is disabled.
MC9S12G Family Reference Manual, Rev.1.23
646
Freescale Semiconductor