The output of the sample and hold is connected to the input of the converter.
The converter generates a binary result via successive approximation and stores the result in a 10-bit register.
The voltage reference used in the conversion is software selectable to either VDD or a voltage applied by the VREF pin. Figure 7-1 shows the block diagram of the A/D on the PIC12F675.