📄 defaultisr.c
字号:
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T3CINT_ISR(void) // 0x000D78 T3CINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T3UFINT_ISR(void) // 0x000D7A T3UFINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T3OFINT_ISR(void) // 0x000D7C T3OFINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T4PINT_ISR(void) // 0x000D80 T4PINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T4CINT_ISR(void) // 0x000D82 T4CINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T4UFINT_ISR(void) // 0x000D84 T4UFINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void T4OFINT_ISR(void) // 0x000D86 T4OFINT (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void CAPINT4_ISR(void) // 0x000D88 CAPINT4 (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void CAPINT5_ISR(void) // 0x000D8A CAPINT5 (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void CAPINT6_ISR(void) // 0x000D8C CAPINT6 (EV-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP5; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SPIRXINTA_ISR(void) // 0x000D90 SPIRXINTA (SPI)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP6; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SPITXINTA_ISR(void) // 0x000D92 SPITXINTA (SPI)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP6; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void MRINTA_ISR(void) // 0x000D98 MRINT (McBSP)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP6; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void MXINTA_ISR(void) // 0x000D9A MXINT (McBSP)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP6; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SCIRXINTA_ISR(void) // 0x000DC0 SCIRXINTA (SCI-A)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SCITXINTA_ISR(void) // 0x000DC2 SCITXINTA (SCI-A)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SCIRXINTB_ISR(void) // 0x000DC4 SCIRXINTB (SCI-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void SCITXINTB_ISR(void) // 0x000DC6 SCITXINTB (SCI-B)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void ECAN0INTA_ISR(void) // 0x000DC8 ECAN0INT (CAN)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void ECAN1INTA_ISR(void) // 0x000DCA ECAN1INT (CAN)
{
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
PieCtrlRegs.PIEACK.all = PIEACK_GROUP9; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/**********************************************************************
* Reserved ISRs
**********************************************************************/
interrupt void PIE_RESERVED(void) // Reserved PIE base vector.
{
// This ISR is for reserved PIE base vectors. It should never be reached by
// properly executing code. If you get here, it means something is wrong.
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*********************************************************************/
interrupt void rsvd_ISR(void) // Reserved PIE group vector
{
// This ISR is for reserved PIE group vectors. It should never be reached by
// properly executing code. If you get here, it means something is wrong.
// Work around Compiler v3.03 bug
asm(" SPM 0"); // Compiler not properly setting SPM 0 in ISRs
asm(" CLRC AMODE"); // Compiler not properly setting AMODE=1 in ISRs
// End workaround
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
/*** end of file *****************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -