![Freescale Semiconductor MC9S12ZVM series Скачать руководство пользователя страница 541](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602541.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
541
14.4.10 Output Polarity
Output polarity of the PWMs is determined by two options: TOPNEG and BOTNEG. The top polarity
option, TOPNEG, controls the polarity of PWM0, PWM2, and PWM4. The bottom polarity option,
BOTNEG, controls the polarity of PWM1, PWM3, and PWM5.
Positive
polarity means when the PWM is an active level its output is high. Conversely,
negative
polarity
means when the PWM is driving an active level its output is low.
If TOPNEG is set, PWM0, PWM2, and PWM4 outputs become
active-low
. When BOTNEG is set,
PWM1, PWM3, and PWM5 outputs are
active-low
. When these bits are clear, their respective PWM
outputs are
active-high
. See
Figure 14-67. PWM Polarity
14.4.11 Software Output Control
Setting output control enable bit, OUTCTL
n
, enables software to drive the PWM outputs instead of the
PWM generator. In independent mode, with OUTCTL
n
= 1, the output bit OUT
n
, controls the PWM
n
channel. In complementary channel operation the even OUTCTL
n
bit is used to enable software output
control for the pair. The OUTCTL
n
bits must be switched in pairs for proper operation. The OUTCTL
n
and OUT
n
bits are in the PWM output control register.
NOTE
During software output control, TOPNEG and BOTNEG still control output
polarity. It will take up to 3 core clock cycles to see the effect of output
control on the PWM outputs.
UP/DOWN COUNTERER
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
EDGE-ALIGNED
MODULUS = 4
UP/DOWN COUNTERER
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
MODULUS = 4
UP COUNTERER
PWM = 0
PWM = 2
PWM = 3
PWM = 4
PWM = 1
MODULUS = 4
CENTER-ALIGNED
POSITIVE POLARITY
POSITIVE POLARITY
UP COUNTERER
PWM = 0
PWM = 2
PWM = 3
PWM = 4
PWM = 1
MODULUS = 4
CENTER-ALIGNED
NEGATIVE POLARITY
EDGE-ALIGNED
NEGATIVE POLARITY
Содержание MC9S12ZVM series
Страница 116: ...Chapter 2 Port Integration Module S12ZVMPIMV1 MC9S12ZVM Family Reference Manual Rev 1 3 116 Freescale Semiconductor ...
Страница 242: ...Chapter 7 ECC Generation Module SRAM_ECCV1 MC9S12ZVM Family Reference Manual Rev 1 3 242 Freescale Semiconductor ...
Страница 384: ...Chapter 10 Supply Voltage Sensor BATSV3 MC9S12ZVM Family Reference Manual Rev 1 3 384 Freescale Semiconductor ...
Страница 484: ...Chapter 13 Programmable Trigger Unit PTUV2 MC9S12ZVM Family Reference Manual Rev 1 3 484 Freescale Semiconductor ...
Страница 662: ...Chapter 17 Gate Drive Unit GDUV4 MC9S12ZVM Family Reference Manual Rev 1 3 662 Freescale Semiconductor ...
Страница 684: ...Chapter 18 LIN Physical Layer S12LINPHYV2 MC9S12ZVM Family Reference Manual Rev 1 3 684 Freescale Semiconductor ...
Страница 740: ...Chapter 19 128 KB Flash Module S12ZFTMRZ128K512V2 MC9S12ZVM Family Reference Manual Rev 1 3 740 Freescale Semiconductor ...
Страница 756: ...Appendix A MCU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 756 Freescale Semiconductor ...
Страница 772: ...Appendix D LINPHY Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 772 Freescale Semiconductor ...
Страница 776: ...Appendix E GDU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 776 Freescale Semiconductor ...
Страница 788: ...Appendix I MSCAN Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 788 Freescale Semiconductor ...
Страница 790: ...Appendix J Package Information MC9S12ZVM Family Reference Manual Rev 1 3 790 Freescale Semiconductor ...