English
Language : 

S912XET256J2MAL Datasheet, PDF (361/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 10 XGATE (S12XGATEV3)
Table 10-2. XGMCTL Field Descriptions (Sheet 3 of 3)
Field
Description
4
XGSS
XGATE Single Step — This bit forces the execution of a single instruction.(1)
Read:
0 No single step in progress
1 Single step in progress
Write
0 No effect
1 Execute a single RISC instruction
Note: Invoking a Single Step will cause the XGATE to temporarily leave Debug Mode until the instruction has
been executed.
3
XGFACT
Fake XGATE Activity — This bit forces the XGATE to flag activity to the MCU even when it is idle. When it is set
the MCU will never enter system stop mode which assures that peripheral modules will be clocked during XGATE
idle periods
Read:
0 XGATE will only flag activity if it is not idle or in debug mode.
1 XGATE will always signal activity to the MCU.
Write:
0 Only flag activity if not idle or in debug mode.
1 Always signal XGATE activity.
1
XGSWEF
XGATE Software Error Flag — This bit signals a software error. It is set whenever the RISC core detects an
error condition(2). The RISC core is stopped while this bit is set. Clearing this bit will terminate the current thread
and cause the XGATE to become idle.
Read:
0 No software error detected
1 Software error detected
Write:
0 No effect
1 Clears the XGSWEF bit
0
XGATE Interrupt Enable — This bit acts as a global interrupt enable for the XGATE module
XGIE Read:
0 All outgoing XGATE interrupts disabled (except software error interrupts)
1 All outgoing XGATE interrupts enabled
Write:
0 Disable all outgoing XGATE interrupts (except software error interrupts)
1 Enable all outgoing XGATE interrupts
1. Refer to Section 10.6.1, “Debug Features”
2. Refer to Section 10.4.5, “Software Error Detection”
10.3.1.2 XGATE Channel ID Register (XGCHID)
The XGATE Channel ID Register (Figure 10-4) shows the identifier of the XGATE channel that is
currently active. This register will read “$00” if the XGATE module is idle. In debug mode this register
can be used to start and terminate threads. Refer to Section 10.6.1, “Debug Features” for further
information.
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
361