English
Language : 

MC9S08SH4CTG Datasheet, PDF (291/341 Pages) Freescale Semiconductor, Inc – This is the MC9S08SH8 datasheet set consisting of the following files
Chapter 17 Development Support
17.4.3.8 Debug Trigger Register (DBGT)
This register can be read any time, but may be written only if ARM = 0, except bits 4 and 5 are hard-wired
to 0s.
7
6
5
R
0
TRGSEL
BEGIN
W
4
3
2
0
TRG3
TRG2
Reset
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 17-8. Debug Trigger Register (DBGT)
1
TRG1
0
0
TRG0
0
Table 17-5. DBGT Register Field Descriptions
Field
Description
7
TRGSEL
6
BEGIN
3:0
TRG[3:0]
Trigger Type — Controls whether the match outputs from comparators A and B are qualified with the opcode
tracking logic in the debug module. If TRGSEL is set, a match signal from comparator A or B must propagate
through the opcode tracking logic and a trigger event is only signalled to the FIFO logic if the opcode at the match
address is actually executed.
0 Trigger on access to compare address (force)
1 Trigger if opcode at compare address is executed (tag)
Begin/End Trigger Select — Controls whether the FIFO starts filling at a trigger or fills in a circular manner until
a trigger ends the capture of information. In event-only trigger modes, this bit is ignored and all debug runs are
assumed to be begin traces.
0 Data stored in FIFO until trigger (end trace)
1 Trigger initiates data storage (begin trace)
Select Trigger Mode — Selects one of nine triggering modes, as described below.
0000 A-only
0001 A OR B
0010 A Then B
0011 Event-only B (store data)
0100 A then event-only B (store data)
0101 A AND B data (full mode)
0110 A AND NOT B data (full mode)
0111 Inside range: A ≤ address ≤ B
1000 Outside range: address < A or address > B
1001 – 1111 (No trigger)
MC9S08SH8 MCU Series Data Sheet, Rev. 3
Freescale Semiconductor
287