/Classwork/ECE4534 - Embedded Systems/PIC 26J11/interrupts.c |
---|
37,8 → 37,10 |
PIE1bits.SSPIE = 1; |
// Enable Port B interrupt |
INTCONbits.RBIE = 1; |
#ifdef _BASE_STATION |
// Enable interrupt for INT1 |
INTCON3bits.INT1IE = 1; |
#endif |
} |
void interrupt_enable() { |