📄 xgvectors.cxgate
字号:
/*****************************************************
XGVectors.cxgate - Implements the XGATE vector table
----------------------------------------------------
*****************************************************/
#include "hidef.h" /* this file declares symbols user by the CodeWarrior environment */
#include "Globals.h"
#include "XGISRs.h"
#include "XGVectors.h"
#pragma CONST_SEG XGATE_CONST
const XGATE_TableEntry XGATE_VectorTable[] = {
XGISRError, NULL, /* Channel 00 - Reserved */
XGISRError, NULL, /* Channel 01 - Reserved */
XGISRError, NULL, /* Channel 02 - Reserved */
XGISRError, NULL, /* Channel 03 - Reserved */
XGISRError, NULL, /* Channel 04 - Reserved */
XGISRError, NULL, /* Channel 05 - Reserved */
XGISRError, NULL, /* Channel 06 - Reserved */
XGISRError, NULL, /* Channel 07 - Reserved */
XGISRError, NULL, /* Channel 08 - Reserved */
XGISRError, NULL, /* Channel 09 - Reserved */
XGISRError, NULL, /* Channel 0a - Reserved */
XGISRError, NULL, /* Channel 0b - Reserved */
XGISRError, NULL, /* Channel 0c - Reserved */
XGISRError, NULL, /* Channel 0d - Reserved */
XGISRError, NULL, /* Channel 0e - Reserved */
XGISRError, NULL, /* Channel 0f - Reserved */
XGISRError, NULL, /* Channel 10 - Reserved */
XGISRError, NULL, /* Channel 11 - Reserved */
XGISRError, NULL, /* Channel 12 - Reserved */
XGISRError, NULL, /* Channel 13 - Reserved */
XGISRError, NULL, /* Channel 14 - Reserved */
XGISRError, NULL, /* Channel 15 - Reserved */
XGISRError, NULL, /* Channel 16 - Reserved */
XGISRError, NULL, /* Channel 17 - Reserved */
XGISRError, NULL, /* Channel 18 - Reserved */
XGISRError, NULL, /* Channel 19 - Reserved */
XGISRError, NULL, /* Channel 1a - Reserved */
XGISRError, NULL, /* Channel 1b - Reserved */
XGISRError, NULL, /* Channel 1c - Reserved */
XGISRError, NULL, /* Channel 1d - Reserved */
XGISRError, NULL, /* Channel 1e - Reserved */
XGISRError, NULL, /* Channel 1f - Reserved */
XGISRError, NULL, /* Channel 20 - Reserved */
XGISRError, NULL, /* Channel 21 - Reserved */
XGISRError, NULL, /* Channel 22 - Reserved */
XGISRError, NULL, /* Channel 23 - Reserved */
XGISRError, NULL, /* Channel 24 - Reserved */
XGISRError, NULL, /* Channel 25 - Reserved */
XGISRError, NULL, /* Channel 26 - Reserved */
XGISRError, NULL, /* Channel 27 - Reserved */
XGISRError, NULL, /* Channel 28 - Reserved */
XGISRError, NULL, /* Channel 29 - Reserved */
XGISRError, NULL, /* Channel 2a - Reserved */
XGISRError, NULL, /* Channel 2b - Reserved */
XGISRError, NULL, /* Channel 2c - Reserved */
XGISRError, NULL, /* Channel 2d - Reserved */
XGISRError, NULL, /* Channel 2e - Reserved */
XGISRError, NULL, /* Channel 2f - Reserved */
XGISRError, NULL, /* Channel 30 - XSRAM20K Access Violation */
XGISRError, NULL, /* Channel 31 - XGATE Software Error Interrupt */
XGSwTrig7ISR, NULL, /* Channel 32 - XGATE Software Trigger 7 */
XGSwTrig6ISR,&STData, /* Channel 33 - XGATE Software Trigger 6 */
XGISRError, NULL, /* Channel 34 - XGATE Software Trigger 5 */
XGISRError, NULL, /* Channel 35 - XGATE Software Trigger 4 */
XGISRError, NULL, /* Channel 36 - XGATE Software Trigger 3 */
XGISRError, NULL, /* Channel 37 - XGATE Software Trigger 2 */
XGISRError, NULL, /* Channel 38 - XGATE Software Trigger 1 */
XGSwTrig0ISR,NULL, /* Channel 39 - XGATE Software Trigger 0 */
XGISRError, NULL, /* Channel 3a - Periodic Interrupt Timer Ch. 3 */
XPIT2ISR, &SwLEDData,/* Channel 3b - Periodic Interrupt Timer Ch. 2 */
XPIT1ISR, &GDICData,/* Channel 3c - Periodic Interrupt Timer Ch. 1 */
XPIT0ISR, &VFData, /* Channel 3d - Periodic Interrupt Timer Ch. 0 */
XGISRError, NULL, /* Channel 3e - Reserved */
XGISRError, NULL, /* Channel 3f - Autonomous Periodical Interrupt API */
XGISRError, NULL, /* Channel 40 - Low Voltage interrupt LVI */
XGISRError, NULL, /* Channel 41 - IIC1 Bus */
XGISRError, NULL, /* Channel 42 - SCI5 */
XGISRError, NULL, /* Channel 43 - SCI4 */
XGISRError, NULL, /* Channel 44 - SCI3 */
XGISRError, NULL, /* Channel 45 - SCI2 */
XGISRError, NULL, /* Channel 46 - PWM Emergency Shutdown */
XGISRError, NULL, /* Channel 47 - Port P Interrupt */
XGISRError, NULL, /* Channel 47 - CAN4 transmit */
XGISRError, NULL, /* Channel 48 - CAN4 receive */
XGISRError, NULL, /* Channel 49 - CAN4 errors */
XGISRError, NULL, /* Channel 4a - CAN4 wake-up */
XGISRError, NULL, /* Channel 4b - CAN3 transmit */
XGISRError, NULL, /* Channel 4c - CAN3 receive */
XGISRError, NULL, /* Channel 4d - CAN3 errors */
XGISRError, NULL, /* Channel 4e - CAN3 wake-up */
XGISRError, NULL, /* Channel 50 - CAN2 transmit */
XGISRError, NULL, /* Channel 51 - CAN2 receive */
XGISRError, NULL, /* Channel 52 - CAN2 errors */
XGISRError, NULL, /* Channel 53 - CAN2 wake-up */
XGISRError, NULL, /* Channel 54 - CAN1 transmit */
XCAN1RxISR, NULL, /* Channel 55 - CAN1 receive */
XGISRError, NULL, /* Channel 56 - CAN1 errors */
XGISRError, NULL, /* Channel 57 - CAN1 wake-up */
XGISRError, NULL, /* Channel 58 - CAN0 transmit */
XGISRError, NULL, /* Channel 59 - CAN0 receive */
XGISRError, NULL, /* Channel 5a - CAN0 errors */
XGISRError, NULL, /* Channel 5b - CAN0 wake-up */
XGISRError, NULL, /* Channel 5c - Flash */
XGISRError, NULL, /* Channel 5d - EEPROM */
XSPI2ISR, &VFData, /* Channel 5e - SPI2 */
XSPI1ISR, &VFData, /* Channel 5f - SPI1 */
XGISRError, NULL, /* Channel 60 - IIC0 Bus */
XGISRError, NULL, /* Channel 61 - Reserved */
XGISRError, NULL, /* Channel 62 - CRG Self Clock Mode */
XGISRError, NULL, /* Channel 63 - CRG PLL Lock */
XGISRError, NULL, /* Channel 64 - Pulse Accumulator B Overflow */
XGISRError, NULL, /* Channel 65 - Modulus Down Counter Underflow */
XGISRError, NULL, /* Channel 66 - Port H */
XGISRError, NULL, /* Channel 67 - Port J */
XGISRError, NULL, /* Channel 68 - ATD1 */
XGISRError, NULL, /* Channel 69 - ATD0 */
XGISRError, NULL, /* Channel 6a - SCI1 */
XGISRError, NULL, /* Channel 6b - SCI0 */
XSPI0ISR, &GDICData,/* Channel 6c - SPI0 */
XGISRError, NULL, /* Channel 6d - Pulse accumulator input edge */
XGISRError, NULL, /* Channel 6e - Pulse accumulator A overflow */
XGISRError, NULL, /* Channel 6f - Enhanced Capture Timer overflow */
XGISRError, NULL, /* Channel 70 - Enhanced Capture Timer Channel 7 */
XGISRError, NULL, /* Channel 71 - Enhanced Capture Timer Channel 6 */
XGISRError, NULL, /* Channel 72 - Enhanced Capture Timer Channel 5 */
XGISRError, NULL, /* Channel 73 - Enhanced Capture Timer Channel 4 */
XGISRError, NULL, /* Channel 74 - Enhanced Capture Timer Channel 3 */
XGISRError, NULL, /* Channel 75 - Enhanced Capture Timer Channel 2 */
XTC1ISR, &VFData, /* Channel 76 - Enhanced Capture Timer Channel 1 */
XGISRError, NULL, /* Channel 77 - Enhanced Capture Timer Channel 0 */
XGISRError, NULL /* Channel 78 - Real Time Interrupt */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -