![Freescale Semiconductor MC9S12ZVM series Скачать руководство пользователя страница 546](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602546.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
546
Freescale Semiconductor
Figure 14-73. Full Cycle Reload Frequency Change
Figure 14-74. Half Cycle Reload Frequency Change
14.4.12.4 Reload Flag
The PWMRF reload flag is set at every reload opportunity, regardless of whether an actual reload occurs
(as determined by the related LDOK bit or global load OK). If the PWM reload interrupt enable bit
PWMRIE is set, the PWMRF flag generates CPU interrupt requests allowing software to calculate new
PWM parameters in real time. When PWMRIE is not set, reloads still occur at the selected reload rate
without generating CPU interrupt requests.
Figure 14-75. PWMRF Reload Interrupt Request
Figure 14-76. Full-Cycle Center-Aligned PWM Value Loading
RELOAD
CHANGE
UP/DOWN
EVERY
TWO OPPORTUNITIES
EVERY
OPPORTUNITY
COUNTERER
RELOAD
FREQUENCY
EVERY
FOUR OPPORTUNITIES
RELOAD
CHANGE
UP/DOWN
EVERY TWO
OPPORTUNITIES
EVERY
OPPORTUNITY
COUNTERER
RELOAD
FREQUENCY
EVERY TWO
OPPORTUNITIES
EVERY
FOUR OPPORTUNITIES
(HALF bit set
while counting down)
(HALF bit set
while counting up)
(HALF bit set while counting up)
(other case not shown)
V
DD
CPU INTERRUPT
PWM RELOAD
REQUEST
D
Q
CLK
CLR
READ PWMRF AS 1 THEN
WRITE 1 TO PWMRF
RESET
PWMRF
PWMRIE
PWM
HALF = 0, LDFQ[3:0] = 0000 = RELOAD EVERY CYCLE
LDOK = 1
MODULUS = 3
PWM VALUE = 1
PWMRF = 1
0
3
2
1
1
3
2
1
0
3
1
1
UP/DOWN
COUNTERER
Содержание 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 ...