MC9S12Q32VFA16 FREESCALE [Freescale Semiconductor, Inc], MC9S12Q32VFA16 Datasheet - Page 360

no-image

MC9S12Q32VFA16

Manufacturer Part Number
MC9S12Q32VFA16
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Chapter 12 Pulse-Width Modulator (PWM8B4CRev 01.24) Block Description
12.3.2.9
PWMSCLA is the programmable scale value used in scaling clock A to generate clock SA. Clock SA is
generated by taking clock A, dividing it by the value in the PWMSCLA register and dividing that by two.
Any value written to this register will cause the scale counter to load the new scale value (PWMSCLA).
Read: anytime
Write: anytime (causes the scale counter to load the PWMSCLA value)
12.3.2.10 PWM Scale B Register (PWMSCLB)
PWMSCLB is the programmable scale value used in scaling clock B to generate clock SB. Clock SB is
generated by taking clock B, dividing it by the value in the PWMSCLB register and dividing that by two.
Any value written to this register will cause the scale counter to load the new scale value (PWMSCLB).
Read: anytime
Write: anytime (causes the scale counter to load the PWMSCLB value).
360
Module Base + 0x0008
Module Base + 0x0009
Reset
Reset
W
W
R
R
Clock SA = Clock A / (2 * PWMSCLA)
Clock SB = Clock B / (2 * PWMSCLB)
Bit 7
Bit 7
PWM Scale A Register (PWMSCLA)
0
0
7
7
When PWMSCLA = 0x0000, PWMSCLA value is considered a full scale
value of 256. Clock A is thus divided by 512.
When PWMSCLB = 0x0000, PWMSCLB value is considered a full scale
value of 256. Clock B is thus divided by 512.
0
0
6
6
6
6
Figure 12-11. PWM Scale A Register (PWMSCLA)
Figure 12-12. PWM Scale B Register (PWMSCLB)
0
0
5
5
5
5
MC9S12Q128
Rev 1.10
NOTE
NOTE
0
0
4
4
4
4
0
0
3
3
3
3
0
0
2
2
2
2
Freescale Semiconductor
0
0
1
1
1
1
Bit 0
Bit 0
0
0
0
0

Related parts for MC9S12Q32VFA16