EasyManua.ls Logo

NXP Semiconductors MC9S12G - Page 313

NXP Semiconductors MC9S12G
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S12S Debug Module (S12SDBGV2)
MC9S12G Family Reference Manual Rev.1.27
NXP Semiconductors 315
8.3.2.7.1 Debug State Control Register 1 (DBGSCR1)
Read: If COMRV[1:0] = 00
Write: If COMRV[1:0] = 00 and DBG is not armed.
This register is visible at 0x0027 only with COMRV[1:0] = 00. The state control register 1 selects the
targeted next state whilst in State1. The matches refer to the match channels of the comparator match
control logic as depicted in Figure 8-1 and described in Section 8.3.2.8.1, “Debug Comparator Control
Register (DBGXCTL). Comparators must be enabled by setting the comparator enable bit in the associated
DBGXCTL control register.
01 DBGSCR2
10 DBGSCR3
11 DBGMFR
Address: 0x0027
76543210
R0 0 0 0
SC3 SC2 SC1 SC0
W
Reset00000000
= Unimplemented or Reserved
Figure 8-9. Debug State Control Register 1 (DBGSCR1)
Table 8-15. DBGSCR1 Field Descriptions
Field Description
3–0
SC[3:0]
These bits select the targeted next state whilst in State1, based upon the match event.
Table 8-16. State1 Sequencer Next State Selection
SC[3:0] Description (Unspecified matches have no effect)
0000 Any match to Final State
0001 Match1 to State3
0010 Match2 to State2
0011 Match1 to State2
0100 Match0 to State2....... Match1 to State3
0101 Match1 to State3.........Match0 to Final State
0110 Match0 to State2....... Match2 to State3
0111 Either Match0 or Match1 to State2
1000 Reserved
1001 Match0 to State3
Table 8-14. State Control Register Access Encoding
COMRV Visible State Control Register

Table of Contents

Related product manuals