Chapter 10 XGATE (S12XGATEV3)
MC9S12XE-Family Reference Manual , Rev. 1.19
462
Freescale Semiconductor
SCI_VEC
EQU
$D6
;SCI vector number
INT_REGS
EQU
$0120
;S12X_INT register space
INT_CFADDR
EQU
I$07
;Interrupt Configuration Address Register
INT_CFDATA
EQU
I$08
;Interrupt Configuration Data Registers
RQST
EQU
$80
;RQST bit mask
XGATE_REGS
EQU
$0380
;XGATE register space
XGMCTL
EQU
XGA$00
;XGATE Module Control Register
XGMCTL_CLEAR
EQU
$FA02
;Clear all XGMCTL bits
XGMCTL_ENABLE
EQU
$8282
;Enable XGATE
XGCHID
EQU
XGA$02
;XGATE Channel ID Register
XGISPSEL
EQU
XGA$05
;XGATE Channel ID Register
XGVBR
EQU
XGA$06
;XGATE ISP Select Register
XGIF
EQU
XGA$08
;XGATE Interrupt Flag Vector
XGSWT
EQU
XGA$18
;XGATE Software Trigger Register
XGSEM
EQU
XGA$1A
;XGATE Semaphore Register
RPAGE
EQU
$0016
RAM_SIZE
EQU
32*$400
;32k RAM
RAM_START
EQU
$1000
RAM_START_XG
EQU
$10000-RAM_SIZE
RAM_START_GLOB
EQU
$100000-RAM_SIZE
XGATE_VECTORS
EQU
RAM_START
XGATE_VECTORS_XG
EQU
RAM_START_XG
XGATE_DATA
EQU
RA(4*128)
XGATE_DATA_XG
EQU
RAM_S(4*128)
XGATE_CODE
EQU
XGA(XGATE_CODE_FLASH-XGATE_DATA_FLASH)
XGATE_CODE_XG
EQU
XGATE_(XGATE_CODE_FLASH-XGATE_DATA_FLASH)
BUS_FREQ_HZ
EQU
40000000
;###########################################
;#
S12XE VECTOR TABLE
#
;###########################################
ORG
$FF10
;non-maskable interrupts
DW
DUMMY_ISR DUMMY_ISR DUMMY_ISR DUMMY_ISR
ORG
$FFF4
;non-maskable interrupts
DW
DUMMY_ISR DUMMY_ISR DUMMY_ISR
ORG
$FFFA
;resets
DW
START_OF_CODE START_OF_CODE START_OF_CODE
;###########################################
;#
DISABLE COP
#
;###########################################
ORG
$FF0E
DW
$FFFE
ORG
$C000
START_OF_CODE
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages