English
Language : 

MC9S12G Datasheet, PDF (319/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
S12S Debug Module (S12SDBG)
8.5.10 Scenario 9
Trigger when a routine/event at A (M2) does not follow either B or C (M1 or M0) before they are executed
again. This cannot be realised with theS12SDBGV1 SCR encoding due to OR limitations. By changing
the SCR2 encoding as shown in red this scenario becomes possible.
Figure 8-39. Scenario 9
SCR1=0111
SCR2=1111
State1
M01 State2
M01
M2
Final State
8.5.11 Scenario 10
Trigger if an event M0 occurs following up to two successive M2 events without the resetting event M1.
As shown up to 2 consecutive M2 events are allowed, whereby a reset to State1 is possible after either one
or two M2 events. If an event M0 occurs following the second M2, before M1 resets to State1 then a trigger
is generated. Configuring CompA and CompC the same, it is possible to generate a breakpoint on the third
consecutive occurance of event M0 without a reset M1.
Figure 8-40. Scenario 10a
M1
SCR1=0010
SCR2=0100
State1
M2
State2
M2
SCR3=0010
M0
State3
Final State
M1
Figure 8-41. Scenario 10b
M0
SCR1=0010
SCR2=0011
State1
M2
State2
M1
SCR3=0000
State3
Final State
M0
Scenario 10b shows the case that after M2 then M1 must occur before M0. Starting from a particular point
in code, event M2 must always be followed by M1 before M0. If after any M2, event M0 occurs before
M1 then a trigger is generated.
MC9S12G Family Reference Manual, Rev.1.01
Freescale Semiconductor
319
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.