11.3.6 Analog Select for ANSELx Register

Note: See Table 11-1 through Table 11-8 for bit availability for a given device variant.
Table 11-19. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: ANSELx
Offset: 0x3640, 0x3664

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 ANSELx[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 ANSELx[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000001 

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