Hello Francois,
To have "all digital" you have the ADCON0 register to deal with, specifically the ADON bit which is ADCON0.0 which must be cleared either by ADCON0 = 0 or ADCON0.0 = 0