Pulse-Width Modulator (S12PWM8B8CV2)
MC9S12VRP Family Reference Manual Rev. 1.3
280
NXP Semiconductors
s
9.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 9.4.2.5, “Left Aligned Outputs”
and
Section 9.4.2.6, “Center Aligned Outputs”
for a more detailed
description of the PWM output modes.
Read: Anytime
Write: Anytime
NOTE
Write these bits only when the corresponding channel is disabled.
Table 9-7. PWMPRCLK Field Descriptions
Field
Description
6–4
PCKB[2:0]
Prescaler Select for Clock B
— Clock B is one of two clock sources which can be used for all channels. These
three bits determine the rate of clock B, as shown in
2–0
PCKA[2:0]
Prescaler Select for Clock A
— Clock A is one of two clock sources which can be used for all channels. These
three bits determine the rate of clock A, as shown in
Table 9-8. Clock A or Clock B Prescaler Selects
PCKA/B2
PCKA/B1
PCKA/B0
Value of Clock A/B
0
0
0
bus clock
0
0
1
bus clock / 2
0
1
0
bus clock / 4
0
1
1
bus clock / 8
1
0
0
bus clock / 16
1
0
1
bus clock / 32
1
1
0
bus clock / 64
1
1
1
bus clock / 128
7
6
5
4
3
2
1
0
R
CAE7
CAE6
CAE5
CAE4
CAE3
CAE2
CAE1
CAE0
W
Reset
0
0
0
0
0
0
0
0
Figure 9-7. PWM Center Align Enable Register (PWMCAE)
Table 9-9. PWMCAE 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–0
CAE[7:0]
Center Aligned Output Modes on Channels 7–0
0 Channels 7–0 operate in left aligned output mode.
1 Channels 7–0 operate in center aligned output mode.
Содержание MC9S12VRP64
Страница 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Страница 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Страница 92: ...Port Integration Module S12VRPPIMV1 MC9S12VRP Family Reference Manual Rev 1 3 92 NXP Semiconductors ...
Страница 106: ...S12G Memory Map Controller S12GMMCV1 MC9S12VRP Family Reference Manual Rev 1 3 106 NXP Semiconductors ...
Страница 192: ...Background Debug Module S12SBDMV1 MC9S12VRP Family Reference Manual Rev 1 3 192 NXP Semiconductors ...
Страница 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Страница 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Страница 340: ...Serial Communication Interface S12SCIV6 MC9S12VRP Family Reference Manual Rev 1 3 340 NXP Semiconductors ...
Страница 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Страница 424: ...LIN Physical Layer S12LINPHYV2 MC9S12VRP Family Reference Manual Rev 1 3 424 NXP Semiconductors ...
Страница 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Страница 488: ...64 KByte Flash Module S12FTMRG64K4KV2 MC9S12VRP Family Reference Manual Rev 1 3 488 NXP Semiconductors ...
Страница 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Страница 529: ...MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 529 Appendix J Package Information ...
Страница 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Страница 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Страница 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...