锐单电子商城 , 一站式电子元器件采购平台!
  • 电话:400-990-0325

TMS320F2812外设例程系列之DefaultIsr

时间:2024-04-16 16:37:10

// File $Revision: /main/2 $ // Checkin $Date: April 29, 2005 11:10:44 $ //########################################################################### // // FILE: D 281x_DefaultIsr.c // // TITLE: DSP281x Default Interrupt Service Routines. // //########################################################################### // $TI Release: DSP281x Header Files V1.11 $ // $Release Date: September 26, 2007 $ //########################################################################### #include "DSP281x_Device.h" // DSP281x Headerfile Include File #include "DSP281x_Examples.h" // DSP281x Examples Include File // Note -Timer1 ISR is reserved for TI use. interrupt void I 13_ISR(void) // INT13 or CPU-Timer1 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" E OP0"); for(;;); } // Note CPU-Timer2 ISR is reserved for TI use. interrupt void INT14_ISR(void) // CPU-Timer2 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void DATALOG_ISR(void) // Datalogging interrupt { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void RTOSINT_ISR(void) // RTOS interrupt { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void EMUINT_ISR(void) // Emulation interrupt { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void NMI_ISR(void) // Non-maskable interrupt { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void I GAL_ISR(void) // Illegal operation TRAP { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm(" ESTOP0"); for(;;); } interrupt void USER1_ISR(void) // User Defined trap 1 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER2_ISR(void) // User Defined trap 2 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER3_ISR(void) // User Defined trap 3 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER4_ISR(void) // User Defined trap 4 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER5_ISR(void) // User Defined trap 5 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER6_ISR(void) // User Defined trap 6 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER7_ISR(void) // User Defined trap 7 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER8_ISR(void) // User Defined trap 8 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER9_ISR(void) // User Defined trap 9 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER10_ISR(void) // User Defined trap 10 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER11_ISR(void) // User Defined trap 11 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } interrupt void USER12_ISR(void) // User Defined trap 12 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // ----------------------------------------------------------- // PIE Group 1 - MUXed into CPU INT1 // ----------------------------------------------------------- // INT1.1 interrupt void P INTA_ISR( void ) // EV-A { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.2 interrupt void PDPINTB_ISR(void) // EV-B { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.3 - Reserved // INT1.4 interrupt void XINT1_ISR(void) { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.5 interrupt void XINT2_ISR(void) { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.6 interrupt void A INT_ISR(void) // ADC { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.7 interrupt void TINT0_ISR(void) // CPU-Timer 0 { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.8 interrupt void WAKEINT_ISR(void) // WD { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // ----------------------------------------------------------- // PIE Group 2 - MUXed into CPU INT2 // ----------------------------------------------------------- // INT2.1 interrupt void CMP1INT_ISR(void) // EV-A { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP2; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT2.2 interrupt void CMP2INT_ISR(void) // EV-A { // Insert ISR Cod
锐单商城拥有海量元器件数据手册IC替代型号,打造电子元器件IC百科大全!

相关文章