This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HOW TO: Setup I/O pins on cc2530 ?

Other Parts Discussed in Thread: CC2530, Z-STACK

Hey guys,

I'm finding the docs brutal for this TI programming ... I need to do the simplest thing, setup P0_0, P0_1, P0_2 as ADC inputs ...  how do you do this?!

Do I have to do this?   ADCCON3 = (HAL_ADC_REF_125V | HAL_ADC_DEC_512 | HAL_ADC_CHANNEL_1);

What is the official way to setup pins as In/Out/Analog/Digital etc??

Thanks!