
Chapter 14 XGATE (S12XGATEV3)
MC9S12XF - Family Reference Manual, Rev.1.19
Freescale Semiconductor
623
14.3.1.2
XGATE Channel ID Register (XGCHID)
The XGATE Channel ID Register
(Figure 14-4) shows the identier of the XGATE channel that is
currently active. This register will read “$00” if the XGATE module is idle. In debug mode this register
information.
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 ag 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 ag activity if it is not idle or in debug mode.
1 XGATE will always signal activity to the MCU.
Write:
0 Only ag 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
XGIE
XGATE Interrupt Enable — This bit acts as a global interrupt enable for the XGATE module
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
Table 14-2. XGMCTL Field Descriptions (Sheet 3 of 3)
Field
Description