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.

SYSCTL_PERIPH_ADC0 vs SYSCTL_PERIPH2_ADC0

I was working on ADC module with lm4f120 launchboard and was always being caught by a trap. Then i was realized that I'm using SYSCTL_PERIPH2_ADC0 as the configuration parameter. When i changed to SYSCTL_PERIPH_ADC0 it began to work. It is defined in "sysctl.h" file but I could not find it in the documents. What's SYSCTL_PERIPH2_ADC0 used for adc what's the dfiference?Thanks.