cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 standard peripherals ADC_RegularChannelConfig function

dhutchison1945
Associate II
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
1 REPLY 1
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
Up vote any posts that you find helpful, it shows what's working..