English
Language : 

MC9S12GRMV1 Datasheet, PDF (351/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
S12S Debug Module (S12SDBGV2)
is generated. Configuring CompA and CompC the same, it is possible to generate a breakpoint on the third
consecutive occurrence of event M0 without a reset M1.
Figure 8-40. Scenario 10a
M1
SCR1=0010
SCR2=0100
State1
M2
State2
M2
SCR3=0010
State3
M0
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.23
Freescale Semiconductor
353