Started writing ADC driver and acquisition code for PIC32MX795F512L