Write operations to this register allow the user to select interrupt sources, enable interrupts, and clear interrupts as well as ADC FIFO flags. The following is a description of the Interrupt/ADC FIFO Register:
INT[1:0] General Interrupt Source selection bits.
|
|
|
|
|
|
| INT1 |
| INT0 |
|
|
| Source |
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | 0 |
|
|
| Not Defined |
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| 0 | 1 |
|
| End of Channel Scan |
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| 1 | 0 |
|
| AD FIFO Half Full |
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| 1 | 1 |
|
| AD FIFO Not Empty |
|
|
|
|
|
| |||||||
INTE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| Enables interrupt source selected via the INT[1:0] bits. |
|
|
|
|
|
|
|
| ||||||||||||||||
|
|
|
| 1 | = Selected interrupt Enabled |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
| 0 | = Selected interrupt Disabled |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
EOAIE |
| Enables | |||||||||||||||||||||||
|
|
| desired sample size has been gathered. |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
| 1= Enable EOA interrupt |
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
| 0 | = Disable EOA interrupt |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
EOACL | A |
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
|
|
| 1 | = Clear EOA interrupt. |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
| 0 | = No effect. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
INTCL |
| A |
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
| 1 | = Clear INT[1:0] interrupt |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
| 0 | = No effect. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
ADFLCL | A |
|
|
|
|
|
|
|
| ||||||||||||||||
|
|
|
| 1 | = Clear ADC FIFO Full latch. |
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
| 0 | = No Effect. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
| NOTE: It is not necessary to reset any |
|
|
| ||||||||||||||||||
READ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
15 |
| 14 | 13 | 12 |
| 11 |
| 10 |
| 9 |
| 8 | 7 |
| 6 |
| 5 |
| 4 | 3 |
| 2 | 1 | 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
- |
| - | LADFUL | ADNE | ADNEI |
| ADHFI |
| EOBI |
| - | INT |
| EOAI |
| - |
| - | - |
| - | - | - | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read operations to this register allow the user to check status of the selected interrupts and ADC FIFO flags. The following is a description of Interrupt / ADC FIFO Register Read bits:
EOAI | Status bit of ADC FIFO | |
| 1 | = Indicates an EOA interrupt has been latched. |
| 0 | = Indicates an EOA interrupt has not occurred. |
INT | Status bit of General interrupt selected via INT[1:0] bits. This bit indicates that any one of | |
| these interrupts has occurred. | |
| 1 | = Indicates a General interrupt has been latched. |
| 0 | = Indicates a General interrupt has not occurred. |
20