![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 478](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602478.webp)
Chapter 13 Programmable Trigger Unit (PTUV2)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
478
13.3.2.18
PTU Debug Register (PTUDEBUG
)
13.4
Functional Description
13.4.1
General
The PTU module consists of two trigger generators (TG0 and TG1). For each TG a separate enable bit is
available, so that both TGs can be enabled independently.
If both trigger generators are disabled then the PTU is disabled, the trigger generation stops and the
memory accesses are disabled.
Module Base + 0x001F
Access: User read/write
(1)
1. Read: Anytime
Write: only in special mode
7
6
5
4
3
2
1
0
R
0
PTUREPE
PTUT1PE
PTUT0PE
0
0
0
0
W
PTUFRE
TG1FTE
TG0FTE
Reset
0
0
0
0
0
0
0
0
= Unimplemented
Figure 13-21. PTU Debug Register (PTUDEBUG)
Table 13-21. PTUDEBUG Register Field Descriptions
Field
Description
6
PTUREPE
PTURE Pin Enable — This bit enables the output port for pin PTURE.
0 PTURE output port are disabled
1 PTURE output port are enabled
5
PTUT1PE
PTU PTUT1 Pin Enable — This bit enables the output port for pin PTUT1.
0 PTUT1 output port are disabled
1 PTUT1 output port are enabled
4
PTUT0PE
PTU PTUT0 Pin Enable — This bit enables the output port for pin PTUT0.
0 PTUT0 output port are disabled
1 PTUT0 output port are enabled
2
PTUFRE
Force Reload event generation — If one of the TGs is enabled then writing 1 to this bit will generate a reload
event. The reload event forced by PTUFRE does not set the PTUROIF interrupt flag. Also the ptu_reload signal
asserts for one bus clock cyclet. Writing 0 to this bit has no effect. Always reads back as 0. This behavior is not
available during stop or freeze mode.
1
TG1FTE
Trigger Generator 1 Force Trigger Event — If TG1 is enabled then writing 1 to this bit will generate a trigger
event independent on the list based trigger generation. Writing 0 to this bit has no effect. Always reads back as
0.This behavior is not available during stop or freeze mode.
0
TG0FTE
Trigger Generator 0 Force Trigger Event — If TG0 is enabled then writing 1 to this bit will generate a trigger
event independent on the list based trigger generation. Writing 0 to this bit has no effect. Always reads back as
0. This behavior is not available during stop or freeze mode.