66 int16_t
adc_get(uint8_t channel, uint8_t ref, uint8_t div);
Header file with register declarations for the cc2538 ADC and H/W RNG.
int16_t adc_get(uint8_t channel, uint8_t ref, uint8_t div)
Performs a single conversion on a given ADC channel.
void adc_init(void)
Initializes the ADC controller.