|
MC9S12XD256MAL Datasheet, PDF (706/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network | |||
|
◁ |
Chapter 19 S12X Debug (S12XDBGV2) Module
(DBGXCTL)â. Comparators must be enabled by setting the comparator enable bit in the associated
DBGXCTL control register.
Table 19-24. DBGSCR3 Field Descriptions
Field
3â0
SC[3:0]
Description
State Control Bits â These bits select the targeted next state while in State3, based upon the match event.
The trigger priorities described in Table 19-38 dictate that in the case of simultaneous matches, the match on
the lower channel number (0,1,2,3) has priority. The SC[3:0] encoding ensures that a match leading to ï¬nal state
has priority over all other matches.
SC[3:0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Table 19-25. State3 Sequencer Next State Selection
Description
Any match triggers to state1
Any match triggers to state2
Any match triggers to ï¬nal state
Match0 triggers to State1....... Other matches have no effect
Match0 triggers to State2....... Other matches have no effect
Match0 triggers to ï¬nal state....... Other matches have no effect
Match1 triggers to State1....... Other matches have no effect
Match1 triggers to State2....... Other matches have no effect
Match1 triggers to ï¬nal state....... Other matches have no effect
Match2 triggers to State2....... Match0 triggers to ï¬nal state....... Other matches have no effect
Match1 triggers to State1....... Match3 triggers to State2....... Other matches have no effect
Match3 triggers to State2....... Match1 triggers to ï¬nal state....... Other matches have no effect
Match2 triggers to ï¬nal state....... Other matches have no effect
Match3 triggers to ï¬nal state....... Other matches have no effect
Reserved
Reserved
19.3.1.11 Comparator Register Descriptions
Each comparator has a bank of registers that are visible through an 8-byte window in the DBG module
register address map. Comparators A and C consist of 8 register bytes (3 address bus compare registers, 2
data bus compare registers, 2 data bus mask registers and a control register).
Comparators B and D consist of 4 register bytes (3 address bus compare registers and a control register).
Each set of comparator registers is accessible in the same 8-byte window of the register address map and
can be accessed using the COMRV bits in the DBGC1 register. If the Comparators B or D are accessed
through the 8-byte window, then only the address and control bytes are visible, the 4 bytes associated with
data bus and data bus masking read as 0 and cannot be written. Furthermore the control registers for
comparators B and D differ from those of comparators A and C.
Table 19-26. Comparator Register Layout
0x0028
CONTROL
Read/Write
MC9S12XDP512 Data Sheet, Rev. 2.21
708
Freescale Semiconductor
|
▷ |