14.3.6 Analog Select for ANSELx Register

Note: See Table 14-1 through Table 14-8 for bit availability for a given device variant.
Table 14-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 
 ALTANSELx[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 ALTANSELx[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
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 31:16 – ALTANSELx[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

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