This bit field controls the input and sense configuration of pin n.
The sense configuration determines how a port interrupt can be triggered.
Note:
- If the digital input
buffer for pin n is disabled, bit n in the Input Value (PORTx.IN)
register will not be updated.
| Value | Name | Description |
|---|
| 0x0 |
INTDISABLE |
Interrupt disabled but input buffer enabled
|
| 0x1 |
BOTHEDGES |
Interrupt enabled with sense on both edges |
| 0x2 |
RISING |
Interrupt enabled with sense on rising edge |
| 0x3 |
FALLING |
Interrupt enabled with sense on falling edge |
| 0x4 |
INPUT_DISABLE |
Interrupt and digital input buffer disabled(1) |
| 0x5 |
LEVEL |
Interrupt enabled with sense on low level |
| other |
— |
Reserved |