📄 defaultisr_nonbios.c
字号:
while(1);
}
//---------------------------------------------------------------------
interrupt void EPWM4_TZINT_ISR(void) // PIE2.4 @ 0x000D56 EPWM4_TZINT (EPWM4)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP2; // 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 EPWM5_TZINT_ISR(void) // PIE2.5 @ 0x000D58 EPWM5_TZINT (EPWM5)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP2; // 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 EPWM6_TZINT_ISR(void) // PIE2.6 @ 0x000D5A EPWM6_TZINT (EPWM6)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP2; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
//---------------------------------------------------------------------
// PIE2.7 @ 0x000D5C reserved
// PIE2.8 @ 0x000D5E reserved
//---------------------------------------------------------------------
interrupt void EPWM1_INT_ISR(void) // PIE3.1 @ 0x000D60 EPWM1_INT (EPWM1)
{
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 EPWM2_INT_ISR(void) // PIE3.2 @ 0x000D62 EPWM2_INT (EPWM2)
{
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 EPWM3_INT_ISR(void) // PIE3.3 @ 0x000D64 EPWM3_INT (EPWM3)
{
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 EPWM4_INT_ISR(void) // PIE3.4 @ 0x000D66 EPWM4_INT (EPWM4)
{
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 EPWM5_INT_ISR(void) // PIE3.5 @ 0x000D68 EPWM5_INT (EPWM5)
{
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 EPWM6_INT_ISR(void) // PIE3.6 @ 0x000D6A EPWM6_INT (EPWM6)
{
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);
}
//---------------------------------------------------------------------
// PIE3.7 @ 0x000D6C reserved
// PIE3.8 @ 0x000D6E reserved
//---------------------------------------------------------------------
interrupt void ECAP1_INT_ISR(void) // PIE4.1 @ 0x000D70 ECAP1_INT (ECAP1)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4; // Must acknowledge the PIE group
ECap1Regs.ECCLR.bit.INT = 1; // Clear the ECAP1 interrupt flag
ECap1Regs.ECCLR.bit.CEVT3 = 1; // Clear the CEVT3 flag
// Compute the PWM duty period (rising edge to falling edge)
PwmDuty = (int32)ECap1Regs.CAP2 - (int32)ECap1Regs.CAP1;
// Compute the PWM period (rising edge to rising edge)
PwmPeriod = (int32)ECap1Regs.CAP3 - (int32)ECap1Regs.CAP1;
}
//---------------------------------------------------------------------
interrupt void ECAP2_INT_ISR(void) // PIE4.2 @ 0x000D72 ECAP2_INT (ECAP2)
{
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 ECAP3_INT_ISR(void) // PIE4.3 @ 0x000D74 ECAP3_INT (ECAP3)
{
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 ECAP4_INT_ISR(void) // PIE4.4 @ 0x000D76 ECAP4_INT (ECAP4)
{
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 ECAP5_INT_ISR(void) // PIE4.5 @ 0x000D78 ECAP5_INT (ECAP5)
{
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 ECAP6_INT_ISR(void) // PIE4.6 @ 0x000D7A ECAP6_INT (ECAP6)
{
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);
}
//---------------------------------------------------------------------
// PIE4.7 @ 0x000D7C reserved
// PIE4.8 @ 0x000D7E reserved
//---------------------------------------------------------------------
interrupt void EQEP1_INT_ISR(void) // PIE5.1 @ 0x000D80 EQEP1_INT (EQEP1)
{
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 EQEP2_INT_ISR(void) // PIE5.2 @ 0x000D82 EQEP2_INT (EQEP2)
{
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);
}
//---------------------------------------------------------------------
// PIE5.3 @ 0x000D84 reserved
// PIE5.4 @ 0x000D86 reserved
// PIE5.5 @ 0x000D88 reserved
// PIE5.6 @ 0x000D8A reserved
// PIE5.7 @ 0x000D8C reserved
// PIE5.8 @ 0x000D8E reserved
//---------------------------------------------------------------------
interrupt void SPIRXINTA_ISR(void) // PIE6.1 @ 0x000D90 SPIRXINTA (SPI-A)
{
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) // PIE6.2 @ 0x000D92 SPITXINTA (SPI-A)
{
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 MRINTB_ISR(void) // PIE6.3 @ 0x000D94 MRINTB (McBSP-B)
{
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 MXINTB_ISR(void) // PIE6.4 @ 0x000D96 MXINTB (McBSP-B)
{
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) // PIE6.5 @ 0x000D98 MRINTA (McBSP-A)
{
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) // PIE6.6 @ 0x000D9A MXINTA (McBSP-A)
{
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);
}
//---------------------------------------------------------------------
// PIE6.7 @ 0x000D9C reserved
// PIE6.8 @ 0x000D9E reserved
//---------------------------------------------------------------------
interrupt void DINTCH1_ISR(void) // PIE7.1 @ 0x000DA0 DINTCH1 (DMA)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP7; // 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 DINTCH2_ISR(void) // PIE7.2 @ 0x000DA2 DINTCH2 (DMA)
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP7; // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -