Freescale Semiconductor MC9S12G128 Evaluation Board TWR-S12G128-KIT TWR-S12G128-KIT Data Sheet

Product codes
TWR-S12G128-KIT
Page of 1292
Pulse-Width Modulator (S12PWM8B8CV2)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
649
Read: Anytime
Write: Anytime
NOTE
Register bits PCLKAB0 to PCLKAB7 can be written anytime. If a clock
select is changed while a PWM signal is being generated, a truncated or
stretched pulse can occur during the transition.
Module Base + 0x00006
7
6
5
4
3
2
1
0
R
PCLKAB7
PCLKAB6
PCLKAB5
PCLKAB4
PCLKAB3
PCLKAB2
PCLKAB1
PCLKAB0
W
Reset
0
0
0
0
0
0
0
0
Figure 19-9. PWM Clock Select Register (PWMCLKAB)
Table 19-11. PWMCLK Field Descriptions
Note: Bits related to available channels have functional significance. Writing to unavailable bits has no effect. Read from
unavailable bits return a zero
Field
Description
7
PCLKAB7
Pulse Width Channel 7 Clock A/B Select
0 Clock B or SB is the clock source for PWM channel 7, as shown in
.
1 Clock A or SA is the clock source for PWM channel 7, as shown in
.
6
PCLKAB6
Pulse Width Channel 6 Clock A/B Select
0 Clock B or SB is the clock source for PWM channel 6, as shown in
.
1 Clock A or SA is the clock source for PWM channel 6, as shown in
.
5
PCLKAB5
Pulse Width Channel 5 Clock A/B Select
0 Clock A or SA is the clock source for PWM channel 5, as shown in
.
1 Clock B or SB is the clock source for PWM channel 5, as shown in
.
4
PCLKAB4
Pulse Width Channel 4 Clock A/B Select
0 Clock A or SA is the clock source for PWM channel 4, as shown in
.
1 Clock B or SB is the clock source for PWM channel 4, as shown in
.
3
PCLKAB3
Pulse Width Channel 3 Clock A/B Select
0 Clock B or SB is the clock source for PWM channel 3, as shown in
.
1 Clock A or SA is the clock source for PWM channel 3, as shown in
.
2
PCLKAB2
Pulse Width Channel 2 Clock A/B Select
0 Clock B or SB is the clock source for PWM channel 2, as shown in
.
1 Clock A or SA is the clock source for PWM channel 2, as shown in
.
1
PCLKAB1
Pulse Width Channel 1 Clock A/B Select
0 Clock A or SA is the clock source for PWM channel 1, as shown in
.
1 Clock B or SB is the clock source for PWM channel 1, as shown in
.
0
PCLKAB0
Pulse Width Channel 0 Clock A/B Select
0 Clock A or SA is the clock source for PWM channel 0, as shown in
.
1 Clock B or SB is the clock source for PWM channel 0, as shown in
.