📄 defaultisr_nonbios.c
字号:
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 T2CINT_ISR(void) // 0x000D62 T2CINT (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 T2UFINT_ISR(void) // 0x000D64 T2UFINT (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 T2OFINT_ISR(void) // 0x000D66 T2OFINT (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 CAPINT1_ISR(void) // 0x000D68 CAPINT1 (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // Must acknowledge the PIE group
/*** Manage the CAP1 registers ***/
EvaRegs.EVAIFRC.bit.CAP1INT = 1; // Clear the CAP1INT flag
/*** Read the CAP1FIFO ***/
CAP_rising = EvaRegs.CAP1FIFO; // Read the top entry
CAP_falling = EvaRegs.CAP1FIFO; // Read the 2nd entry
/*** Compute the duty cycle using signed math ***/
CAP_width = (Uint16)( (int16)CAP_falling - (int16)CAP_rising );
}
/*********************************************************************/
interrupt void CAPINT2_ISR(void) // 0x000D6A CAPINT2 (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 CAPINT3_ISR(void) // 0x000D6C CAPINT3 (EV-A)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3; // 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 CMP4INT_ISR(void) // 0x000D70 CMP4INT (EV-B)
{
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 CMP5INT_ISR(void) // 0x000D72 CMP5INT (EV-B)
{
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 CMP6INT_ISR(void) // 0x000D74 CMP6INT (EV-B)
{
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 T3PINT_ISR(void) // 0x000D76 T3PINT (EV-B)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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)
{
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.
// 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.
// 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 + -