文件名称:Tstm32_adch
介绍说明--下载内容均来自于网络,请自行研究使用
此程序是基于STM32的AD应用程序,我们在这里设置ADC为连续转换模式,常规转换序列中有两路转换通道,分别是ADC_CH10(PC0)和ADC_CH16(片内温度传感器)。因为使用了自动多通道转换,,数据的取出工作最适合使用DMA方式取出,so,我们在内存里开辟了一个u16 AD_Value[2]数组,并设置了相应的DMA模块,使ADC在每个通道转换结束后启动DMA传输,其缓冲区数据量为2个Hal
-This procedure is based on the STM32 AD application, we are here to set the ADC continuous conversion mode, the conventional conversion sequence, two-way conversion channel, respectively ADC_CH10 (PC0) and ADC_CH16 (on-chip temperature sensor). Conversion because of the use of automatic multi-channel data removal is the most suitable for use DMA mode to remove, so opened up a u16 AD_Value [2] array in memory, and set the DMA module, so that the ADC on each channel start DMA transfer after the end of conversion, its buffer the amount of data for a Hal
-This procedure is based on the STM32 AD application, we are here to set the ADC continuous conversion mode, the conventional conversion sequence, two-way conversion channel, respectively ADC_CH10 (PC0) and ADC_CH16 (on-chip temperature sensor). Conversion because of the use of automatic multi-channel data removal is the most suitable for use DMA mode to remove, so opened up a u16 AD_Value [2] array in memory, and set the DMA module, so that the ADC on each channel start DMA transfer after the end of conversion, its buffer the amount of data for a Hal
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Tstm32_adch\stm32_adc.c
Tstm32_adch
Tstm32_adch