
Chapter 13 Programmable Trigger Unit (PTUV2)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
479
The trigger generation of the PTU module is synchronized to the incoming reload event. This reload event
resets and restarts the internal time base counter and makes sure that the first trigger value from the actual
trigger list is loaded. Furthermore the corresponding module is informed that a new control cycle has
started.
If the counter value matches the current trigger value then a trigger event is generated. In this way, the
reload event is delayed by the number of bus clock cycles defined by the current trigger value. After this,
a new trigger value is loaded from the memory and the TG waits for the next match. So up to 32 trigger
events per control cycle can be generated. If the trigger value is 0x0000 or 32 trigger events have been
generated during this control cycle, the TGxDIF bit is set and the TG waits for the next reload event.
shows an example of the trigger generation using the trigger values shown in
Figure 13-22. TG0 trigger generation example
NOTE
If the trigger list contains less than 32 trigger values a delay between the
generation of the last trigger and the assertion of the done interrupt flag will
be visible. During this time the PTU loads the next trigger value from the
memory to evaluate the EOL symbol.
t
Delay T0
Delay T1
Delay T2
Control Cycle
PTUCNT
TG0LIST
TG0TNUM
0
1
2
3
0
T0
T1
T2
0x0000
TG0DIF
T0
outgoing trigger events
TG0TV
reload event
reload event
Содержание 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 ...