1
\$\begingroup\$

I am writing CMSIS based code for STM32L476RGT6(on a Nucleo board) to use the ADC. I have gone through the datasheet but I couldn't find a register to specify the channel for the ADC conversion. How do I do that on this microcontroller?

\$\endgroup\$
  • \$\begingroup\$ Use the ADC_SQRx registers, described in the ADC section of the reference manual. \$\endgroup\$ – Colin Oct 27 '17 at 12:22
  • \$\begingroup\$ There is another document called the Reference Manual. It contains all the information you need. You will notice that it is a significantly longer than the DS :) \$\endgroup\$ – P__J__ Oct 27 '17 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.