简体   繁体   中英

adc order of conversion in stm32f103 in multichannel conversion

I am working on adc in stm32f103 controller in keil compiler in this adc, I need perform continuos conversion up to 6 channels...I need to program the order of conversion in adc1_sqrx. but I didn't found any hint how to program this order of conversion..

here in adc1_sqr1 register we need to mention number of conversions required if you need only one conversion 0000--- 1 conversion

0001--- 2 conversion

0101--- 6 conversions i need

in adc1_sqr3 sufficient for all 6 conversions that i required here in 1st conversion i will mention channel number 10 in 2nd conversion -----channel number as 11

in 3rd conversion -----channel number as 12

in 6 th conversion ----channel number as 15

this is nothing but the order of conversion for channel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM