void interrupt Interruption() { //Timer interruption if (INTCONbits.PEIE & PIR1bits.RCIF) { uart_isr(); } else { if (INTCONbits.TMR0IE & INTCONbits.TMR0IF) { timer0_isr(); readData(); imprimir(); } } }
//low priority ISR function void interrupt low_priority isr_l(void) { timer0_isr(); }