- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 4kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- deyoulu
Description: This program is based on the STM32 processor AD debugging applications, we are here to set the ADC for continuous conversion mode, conventional two-way conversion sequence are converted channels, respectively ADC_CH10 (PC0) and ADC_CH16 (on-chip temperature sensors). Since the use of an automatic multi-channel conversion, data, work out the most appropriate way to use DMA out, so, we have opened up in memory of a u16 AD_Value [2] array, and set the corresponding DMA module, so that each channel ADC conversion After the start the DMA transfer, the buffer data for the two HalfWord, so that the conversion results of two-way channels were automatically fall AD_Value [0], and AD_Value [1] in the.
Then, in the main function, where is no need to manually start the AD conversion, to wait for the end of conversion, and then take the result. We can readily accessible in the main function where the value of AD_Value, there is always the latest AD conversion results.
If we define a larger arra
- [xhdl] - Elements of the cycle queue insertion an
- [EK-STM32-ADC] - STM32 procedures, EK-STM32F the ADC rout
- [loadometer] - Loadometer program source code, which th
- [wnn_forcast] - Transform using wavelet neural network t
File list (Check if you may need any files):
stm32_adc.c