SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
To include the ADC driver, define HAL_ADC=TRUE in the preprocessor definitions. For the ADC API, see the hal_adc.h header file. CC2541/43/44/45 Peripherals Software Examples has several ADC examples.