8.2.2.13 Analog Select for PORTB Register

Name: ANSELB
Offset: 0xE1C

Bit 15141312111098 
       ANSELB[9:7] 
Access R/WR/W 
Reset 00 
Bit 76543210 
 ANSELB[9:7]  ANSELB[4:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 111111 

Bits 9:7 – ANSELB[9:7] 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 4:0 – ANSELB[4: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.