ADC_RegularChannelConfig(ADC1,ADC_Channel_1,3,ADC_SampleTime_239Cycles5);
ADC_RegularChannelConfig(ADC1,ADC_Channel_2,2,ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1,ADC_Channel_3,1,ADC_SampleTime_239Cycles5);
如上,同时配置了DMA传输,但是传输得到的数据顺序怎么确定 按理讲应该是
通道3,通道2,通道1?可是测量发现是 通道1,通道3,通道2
当改变设置时
ADC_RegularChannelConfig(ADC1,ADC_Channel_1,1,ADC_SampleTime_239Cycles5);
ADC_RegularChannelConfig(ADC1,ADC_Channel_2,2,ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1,ADC_Channel_3,3,ADC_SampleTime_239Cycles5);
得到的数据却是通道3,通道1,通道2
|