资源简介
基于正点原子的程序,使用HAL库做了一个ADC+DMA的基础程序,亲测可用。开始绕了很多弯路,ADC和DMA总是配合不好,后来查到因为地址符号没有强制转换成32位的,提醒大家注意。
代码片段和文件信息
/**
******************************************************************************
* @file stm32f4xx_hal.c
* @author MCD Application Team
* @version V1.4.2
* @date 10-November-2015
* @brief HAL module driver.
* This is the common part of the HAL initialization
*
@verbatim
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
The common HAL driver contains a set of generic and common APIs that can be
used by the PPP peripheral drivers and the user to start using the HAL.
[..]
The HAL contains two APIs‘ categories:
(+) Common HAL APIs
(+) Services HAL APIs
@endverbatim
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2015 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.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm32f4xx_hal.h“
/** @addtogroup STM32F4xx_HAL_Driver
* @{
*/
/** @defgroup HAL HAL
* @brief HAL module driver.
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-09-07 18:52 基于HAL的ADC+DMA例程—STM32F429\CORE\
文件 24423 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\cmsis_armcc.h
文件 114498 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\core_cm4.h
文件 3620 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\core_cmFunc.h
文件 3636 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\core_cmInstr.h
文件 3662 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\core_cmSimd.h
文件 31694 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\CORE\startup_stm32f429xx.s
目录 0 2018-09-07 18:52 基于HAL的ADC+DMA例程—STM32F429\HALLIB\
目录 0 2018-09-07 18:52 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\
目录 0 2018-09-07 18:52 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\
目录 0 2018-09-07 18:52 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\Legacy\
文件 166216 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
文件 13345 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h
文件 36376 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h
文件 18952 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h
文件 36361 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h
文件 30747 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cec.h
文件 17044 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_conf_template.h
文件 20217 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h
文件 7298 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h
文件 23327 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h
文件 8122 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp_ex.h
文件 16428 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h
文件 11242 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h
文件 19885 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h
文件 10401 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h
文件 8527 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h
文件 37305 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h
文件 4242 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h
文件 24927 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma2d.h
文件 50920 2018-08-28 10:21 基于HAL的ADC+DMA例程—STM32F429\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dsi.h
............此处省略285个文件信息
相关资源
- CMSIS-RTOS API参考手册
- EmWin计算器_使用栈_带括号_适用于安富
- halcon9.0.2安装文件共4部分PART4
- stm32+触摸屏+红外控制舵机实验
- STM32图形化配置IO软件--SetupMicroXplore
- 原子战舰STM32的程序
- STM32CubeMX用户手册中文版
- STM32_USB-Host-Device_Lib_V2.2.0
- 野火STM32F10X例程源码_ZigBee.rar
- DS2431_STM32F103源码
- 基于STM32与和风天气API的交互系统
- STM32数控直流电源
- STM32电机库
- 安富莱_STM32-V5开发板_数字信号处理教
- STM32的USART通讯
- 国外非常流行的步进电机STM32控制代码
- 输液监测装置.zip
- 零死角玩转stm32-初级篇+中级篇+高级篇
- 光传感器opt3001驱动—stm32f1
- stm驱动L298N
- 零死角玩转stm32 初级篇+中级篇+高级篇
- stm32-串口开发工具软件(含超级终端
- stm32万年历报告.doc
- STM32(硬件SPI)+RC522读写卡源程序
- STM32内部时钟使用(系统时钟)——
- STM32F103库函数版例程
- STM32心率计程序及原理图
- Keil.STM32F4xx_DFP.1.0.8 支持包.rar
- lwip+ucosIII+stm32+keil
- 非线性控制全:中文课本+英文答案
评论
共有 条评论