Skip to main content
dhutchison1945
Associate III
November 22, 2012
Question

stm32 standard peripherals ADC_RegularChannelConfig function

  • November 22, 2012
  • 1 reply
  • 1125 views
Posted on November 22, 2012 at 12:29

Hi,

what is the ''Rank'' parameter of the function ''ADC_RegularChannelConfig() in the standard peripherals library?

thanks

spectre
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    November 22, 2012
    Posted on November 22, 2012 at 14:48

    what is the ''Rank'' parameter of the function ''ADC_RegularChannelConfig() in the standard peripherals library?

    Isn't it the slot number in the array of channels to be read in the sequencer, the Channel numbers doesn't have to be in numerical sequence, and you don't need to process all channels, only the subset you have specified.

    There are 16 entries [1..16] in the sequencer, rank == index/indices, it is not a bit vector scheme.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..