9.2.2.1 Analog Select for PORTx Register

Name: ANSELx
Offset: 0xE00, 0xE1C, 0xE38, 0xE54, 0xE70

Bit 15141312111098 
 ANSELx[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 
Bit 76543210 
 ANSELx[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 

Bits 15:0 – ANSELx[15:0] Analog Select for PORTx bits

ValueDescription
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