14.3.6 Analog Select for ANSELx Register
| Symbol | Description | Symbol | Description | Symbol | Description |
|---|---|---|---|---|---|
| R | Readable bit | HC | Cleared by Hardware | (Gray cell) | Unimplemented |
| W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
| C | Write to clear | S | Software settable bit | x | Channel number |
| Name: | ANSELx |
| Offset: | 0x3640, 0x3664 |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| ALTANSELx[15:8] | |||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| ALTANSELx[7:0] | |||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| ANSELx[15:8] | |||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| ANSELx[7:0] | |||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
Bits 31:16 – ALTANSELx[15:0] Analog Select for PORTx bits
| Value | Description |
|---|---|
1 |
Analog input is enabled and digital input is disabled on the PORTx[n] pin |
0 |
Analog input is disabled and digital input is enabled on the PORTx[n] pin |
Bits 15:0 – ANSELx[15:0] Analog Select for PORTx bits
| Value | Description |
|---|---|
1 | Analog input is enabled and digital input is disabled on the PORTx[n] pin |
0 | Analog input is disabled and digital input is enabled on the PORTx[n] pin |
