Skip to main content
mryan
Visitor II
March 18, 2015
Question

ADC Sampling Options in AN4073

Posted on March 18, 2015 at 16:09

Hi,

I am trying to reduce the noise in my ADC conversions, as per the application note located here:

http://www.st.com/web/en/resource/technical/document/application_note/DM00050879.pdf

I have an stm32f405 and I am trying to use the sample code in Appendix C of the above note. However, I cannot find which header file contains the define for ''PWR_CR_ADCDC1'' as shown in the example code. Does anyone know where this value is defined? or if not what I should set it to for my application?

Thanks,

Matt

    This topic has been closed for replies.

    1 reply

    Amel NASRI
    ST Technical Moderator
    March 30, 2015
    Posted on March 30, 2015 at 14:16

    ''PWR_CR_ADCDC1'' is defined in the file ''stm32f4xx.h'' (Standard Peripheral library).

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.