INTCON0
| Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| GIE/GIEH | 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
| Value | Name | Description |
|---|---|---|
| 1 | IPEN = 0 | Enables all masked interrupts |
| 0 | IPEN = 0 | Disables all interrupts |
| 1 | IPEN = 1 | Enables all unmasked high-priority interrupts: bit also needs to be set for enabling low-priority interrupts |
| 0 | IPEN = 1 | Disables all interrupts |
Global Low Priority Interrupt Enable
| Value | Name | Description |
|---|---|---|
| n | IPEN = 0 | Reserved, read as 0 |
| 1 | IPEN = 1 | Enables all unmasked low-priority interrupts, GIEH also needs to be set for low priority interrupts |
| 0 | IPEN = 1 | Disables all low priority interrupts |
Interrupt Priority Enable
| Value | Description |
|---|---|
| 1 | Enable priority levels on interrupts |
| 0 | Disable priority levels on interrupts, all interrupts are treated as high priority interrupts |
External Interrupt 2 Edge Select
| Value | Description |
|---|---|
| 1 | Interrupt on rising edge of INT2 pin |
| 0 | Interrupt on falling edge of INT2 pin |
External Interrupt 1 Edge Select
| Value | Description |
|---|---|
| 1 | Interrupt on rising edge of INT1 pin |
| 0 | Interrupt on falling edge of INT1 pin |
External Interrupt 0 Edge Select
| Value | Description |
|---|---|
| 1 | Interrupt on rising edge of INT0 pin |
| 0 | Interrupt on falling edge of INT0 pin |