Example IRQ Handler

  //************************************************ //************************************************ //********** INTERRUPT SERVICE ROUTINES ********** //************************************************ //************************************************ //********************************************** //********************************************** //********** HIGH PRIORITY INTERRUPTS ********** //********************************************** //********************************************** void interrupt my_high_priority_irq_handler(void) { //if (TMR0IE && TMR0IF) //{ // TMR0IF=0; // return; //} // process other interrupt sources here, if required } //********************************************* //********************************************* //********** LOW PRIORITY INTERRUPTS ********** //********************************************* //********************************************* void interrupt low_priority my_low_priority_irq_handler(void) […]

Read More