English
Language : 

S912XHZ512F1VAG Datasheet, PDF (216/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 5 XGATE (S12XGATEV2)
5.3.1.1 XGATE Control Register (XGMCTL)
All module level switches and flags are located in the module control register Figure 5-3.
Module Base +0x00000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
R0
0
0
0
0
0
0
0
0
W XGEM
XG
FRZM
XG
DBGM
XG
SSM
XG
FACTM
XG
SWEIFM
XGIEM
XGE
XGFRZ XGDBG XGSS XGFACT
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
XG
SWEIF
XGIE
0
0
= Unimplemented or Reserved
Figure 5-3. XGATE Control Register (XGMCTL)
Read: Anytime
Write: Anytime
Table 5-1. XGMCTL Field Descriptions (Sheet 1 of 3)
Field
Description
15
XGEM
XGE Mask — This bit controls the write access to the XGE bit. The XGE bit can only be set or cleared if a "1" is
written to the XGEM bit in the same register access.
Read:
This bit will always read "0".
Write:
0 Disable write access to the XGE in the same bus cycle
1 Enable write access to the XGE in the same bus cycle
14
XGFRZM
XGFRZ Mask — This bit controls the write access to the XGFRZ bit. The XGFRZ bit can only be set or cleared
if a "1" is written to the XGFRZM bit in the same register access.
Read:
This bit will always read "0".
Write:
0 Disable write access to the XGFRZ in the same bus cycle
1 Enable write access to the XGFRZ in the same bus cycle
13
XGDBGM
XGDBG Mask — This bit controls the write access to the XGDBG bit. The XGDBG bit can only be set or cleared
if a "1" is written to the XGDBGM bit in the same register access.
Read:
This bit will always read "0".
Write:
0 Disable write access to the XGDBG in the same bus cycle
1 Enable write access to the XGDBG in the same bus cycle
12
XGSSM
XGSS Mask — This bit controls the write access to the XGSS bit. The XGSS bit can only be set or cleared if a
"1" is written to the XGSSM bit in the same register access.
Read:
This bit will always read "0".
Write:
0 Disable write access to the XGSS in the same bus cycle
1 Enable write access to the XGSS in the same bus cycle
MC9S12XHZ512 Data Sheet, Rev. 1.06
216
Freescale Semiconductor