使用HAL库进行stm32f407 双通道ADC DMA采集代码,第一通道接PA3,接受光敏电阻的信息,第二通道是单片机内部的温度通道。并用串口进行输出
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4652 2018-03-17 11:40 NULL.mxproject
文件 719923 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f401xc.h
文件 719923 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f401xe.h
文件 1228777 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f405xx.h
文件 1344524 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f407xx.h
文件 606160 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410cx.h
文件 606469 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410rx.h
文件 601407 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410tx.h
文件 723418 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f411xe.h
文件 1167059 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412cx.h
文件 1253447 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412rx.h
文件 1253447 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412vx.h
文件 1253519 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412zx.h
文件 1307927 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f413xx.h
文件 1252263 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f415xx.h
文件 1367610 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f417xx.h
文件 1319090 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f423xx.h
文件 1446739 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f427xx.h
文件 1475167 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f429xx.h
文件 1470799 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f437xx.h
文件 1498451 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f439xx.h
文件 1375827 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f446xx.h
文件 1748494 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f469xx.h
文件 1772039 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f479xx.h
文件 10744 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f4xx.h
文件 3796 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludesystem_stm32f4xx.h
文件 26321 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f401xc.s
文件 26317 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f401xe.s
文件 29694 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f405xx.s
文件 30162 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f407xx.s
............此处省略746个文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
*
* This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f4xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
*
******************************************************************************
* @attention
*
* © COPYRIGHT 2017 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
* DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/
/** @addtogroup CMSIS
* @{
*/
/** @addtogroup stm32f4xx_s
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4652 2018-03-17 11:40 NULL.mxproject
文件 719923 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f401xc.h
文件 719923 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f401xe.h
文件 1228777 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f405xx.h
文件 1344524 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f407xx.h
文件 606160 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410cx.h
文件 606469 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410rx.h
文件 601407 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f410tx.h
文件 723418 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f411xe.h
文件 1167059 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412cx.h
文件 1253447 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412rx.h
文件 1253447 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412vx.h
文件 1253519 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f412zx.h
文件 1307927 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f413xx.h
文件 1252263 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f415xx.h
文件 1367610 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f417xx.h
文件 1319090 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f423xx.h
文件 1446739 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f427xx.h
文件 1475167 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f429xx.h
文件 1470799 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f437xx.h
文件 1498451 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f439xx.h
文件 1375827 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f446xx.h
文件 1748494 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f469xx.h
文件 1772039 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f479xx.h
文件 10744 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludestm32f4xx.h
文件 3796 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxIncludesystem_stm32f4xx.h
文件 26321 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f401xc.s
文件 26317 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f401xe.s
文件 29694 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f405xx.s
文件 30162 2018-03-07 11:27 NULLDriversCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f407xx.s
............此处省略746个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)