![Freescale Semiconductor MC9S12ZVM series Скачать руководство пользователя страница 482](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602482.webp)
Chapter 13 Programmable Trigger Unit (PTUV2)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
482
” above. The only difference is, that during an async reload event the error interrupt flags
PTUROIF and TGxREIF are not generated.
13.4.5
Interrupts and error handling
This sections describes the interrupts generated by the PTU module and their individual sources, Vector
addresses and interrupt priority are defined by MCU level.
13.4.5.1
PTU Double Bit ECC Error
If one trigger generator reads trigger values from the memory which contains double bit ECC errors then
the PTUDEEF is set. These read data are ignored and the execution of both trigger generators is stopped
until the PTUDEEF flag was cleared. To make sure the trigger generator starts in a define state it is required
to execute follow sequence:
1. disable both trigger generators
2. configure the PTU if required
3. clear the PTUDEEF
4. enable the desired trigger generators
13.4.5.2
PTU Reload Overrun Error
If the PTULDOK bit is not set during the reload event then the PTUROIF bit is set. If enabled (PTUROIE
is set) an interrupt is generated. For more information see
Section 13.4.3, “Reload mechanism
”. During an
async reload event the PTUROIF interrupt flag is not set.
13.4.5.3
Trigger Generator Memory Access Error
The trigger generator memory access error flag (TGxAEIF) is set if the used read address is outside the
accessible memory address area; see the MMC section for the supported memory area. The loaded trigger
values are ignored and the execution of this trigger list is stopped until the next reload event. If enabled
(TGxAEIE is set) an interrupt will be generated.
13.4.5.4
Trigger Generator Reload Error
The trigger generator reload error flag (TGxREIF) is set if a new reload event occurs before the trigger
generator reaches the EOL symbol or the maximum number of generated triggers. Independent from this
Table 13-22. PTU Interrupt Sources
Module Interrupt Sources
Local Enable
PTU Reload Overrun Error
PTUIEH[PTUROIE]
TG0 Error
PTUIEL[TG0AEIE,TG0REIE,TG0TEIE]
TG1 Error
PTUIEL[TG1AEIE,TG1REIE,TG1TEIE]
TG0 Done
PTUIEL[TG0DIE]
TG1 Done
PTUIEL[TG1DIE]
Содержание 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 ...