URL
https://opencores.org/ocsvn/usb_fpga_1_11/usb_fpga_1_11/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 5 |
Line 1... |
Line 1... |
/*!
|
/*!
|
ZTEX Firmware Kit for EZ-USB Microcontrollers
|
ZTEX Firmware Kit for EZ-USB FX2 Microcontrollers
|
Copyright (C) 2009-2010 ZTEX e.K.
|
Copyright (C) 2009-2011 ZTEX GmbH.
|
http://www.ztex.de
|
http://www.ztex.de
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License version 3 as
|
it under the terms of the GNU General Public License version 3 as
|
published by the Free Software Foundation.
|
published by the Free Software Foundation.
|
Line 83... |
Line 83... |
DEFINE_INTVEC(0x01A8,INTVEC_EP6FF);
|
DEFINE_INTVEC(0x01A8,INTVEC_EP6FF);
|
DEFINE_INTVEC(0x01AC,INTVEC_EP8FF);
|
DEFINE_INTVEC(0x01AC,INTVEC_EP8FF);
|
DEFINE_INTVEC(0x01B0,INTVEC_GPIFDONE);
|
DEFINE_INTVEC(0x01B0,INTVEC_GPIFDONE);
|
DEFINE_INTVEC(0x01B4,INTVEC_GPIFWF);]
|
DEFINE_INTVEC(0x01B4,INTVEC_GPIFWF);]
|
|
|
#define[DEFINE_INTVEC(][,$1);][xdata at $0 struct INTVEC $1;]
|
#define[DEFINE_INTVEC(][,$1);][__xdata __at $0 struct INTVEC $1;]
|
INTVECS;
|
INTVECS;
|
#udefine[DEFINE_INTVEC(]
|
#udefine[DEFINE_INTVEC(]
|
|
|
void abscode_intvec() _naked
|
void abscode_intvec()// _naked
|
{
|
{
|
#define[DEFINE_INTVEC(][,$1);][ .org $0
|
#define[DEFINE_INTVEC(][,$1);][ .org $0
|
reti]
|
reti]
|
_asm
|
__asm
|
.area ABSCODE (ABS,CODE)
|
.area ABSCODE (ABS,CODE)
|
.org 0x0000
|
.org 0x0000
|
ENTRY:
|
ENTRY:
|
ljmp #0x0200
|
ljmp #0x0200
|
INTVECS;
|
INTVECS;
|
.org 0x01b8
|
.org 0x01b8
|
INTVEC_DUMMY:
|
INTVEC_DUMMY:
|
reti
|
reti
|
.area CSEG (CODE)
|
.area CSEG (CODE)
|
_endasm;
|
__endasm;
|
}
|
}
|
|
|
#udefine[INTVECS;]
|
#udefine[INTVECS;]
|
#udefine[DEFINE_INTVEC(]
|
#udefine[DEFINE_INTVEC(]
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.