INTCON
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GIE/GIEH | PEIE/GIEL | IPEN | INT2EDG | INT1EDG | INT0EDG | ||
AccessR/W | R/W | R/W | R/W | R/W | R/W | ||
Reset0 | 0 | 0 | 1 | 1 | 1 |
Global Interrupt Enable bit
Value | Name | Description |
---|---|---|
1 | If IPEN = 1 | Enables all unmasked interrupts and cleared by hardware for high-priority interrupts only |
0 | If IPEN = 1 | Disables all interrupts |
1 | If IPEN = 0 | Enables all unmasked interrupts and cleared by hardware for all interrupts |
0 | If IPEN = 0 | Disables all interrupts |
Peripheral Interrupt Enable bit
Value | Name | Description |
---|---|---|
1 | If IPEN = 1 | Enables all low-priority interrupts and cleared by hardware for low-priority interrupts only |
0 | If IPEN = 1 | Disables all low-priority interrupts |
1 | If IPEN = 0 | Enables all unmasked peripheral interrupts |
0 | If IPEN = 0 | Disables all peripheral interrupts |
Interrupt Priority Enable bit
Value | Description |
---|---|
1 | Enable priority levels on interrupts |
0 | Disable priority levels on interrupts |
External Interrupt ‘x’ Edge Select bit
Value | Description |
---|---|
1 | Interrupt on rising edge of INTx pin |
0 | Interrupt on falling edge of INTx pin |