1 #include <legacymsp430.h>
int adc_eref_on()
Reconfigure the parameters of the ADC to enable Veref+ and Veref-.
int adc_read(unsigned int ch)
void adc_close()
It will stop ADC, free the ports, and reset the OP configuration.
int adc_eref_off()
It will hold the configuration of the ADC, and change it according to the OP variable.