资源简介
使用STM32cube创建的stm32f407的工程,使用UART1串口和DMA 串口空闲中断实现串口收发不定长度数据,节省CPU资源。
代码片段和文件信息
/**
******************************************************************************
* @file stm32f4xx_hal.c
* @author MCD Application Team
* @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) 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.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm32f4xx_hal.h“
/** @addtogroup STM32F4xx_HAL_Driver
* @{
*/
/** @defgroup HAL HAL
* @brief HAL module driver.
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define -----------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-28 16:25 timer\
文件 4364 2018-04-25 11:08 timer\.mxproject
目录 0 2018-04-25 10:07 timer\Drivers\
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\
目录 0 2018-04-25 10:07 timer\Drivers\CMSIS\Device\
目录 0 2018-04-25 10:07 timer\Drivers\CMSIS\Device\ST\
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\Device\ST\STM32F4xx\
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Include\
文件 1344524 2018-04-15 14:45 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h
文件 10744 2018-04-15 14:45 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
文件 3796 2018-04-15 14:45 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Source\
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\
目录 0 2018-04-25 11:08 timer\Drivers\CMSIS\Include\
文件 7265 2018-04-15 14:45 timer\Drivers\CMSIS\Include\arm_common_tables.h
文件 3942 2018-04-15 14:45 timer\Drivers\CMSIS\Include\arm_const_structs.h
文件 252339 2018-04-15 14:45 timer\Drivers\CMSIS\Include\arm_math.h
文件 24423 2018-04-15 14:45 timer\Drivers\CMSIS\Include\cmsis_armcc.h
文件 55083 2018-04-15 14:45 timer\Drivers\CMSIS\Include\cmsis_armcc_V6.h
文件 41435 2018-04-15 14:45 timer\Drivers\CMSIS\Include\cmsis_gcc.h
文件 37218 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cm0.h
文件 44796 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cm0plus.h
文件 103909 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cm3.h
文件 114498 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cm4.h
文件 139660 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cm7.h
文件 3620 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cmFunc.h
文件 3636 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cmInstr.h
文件 3662 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_cmSimd.h
文件 45262 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_sc000.h
文件 102809 2018-04-15 14:45 timer\Drivers\CMSIS\Include\core_sc300.h
目录 0 2018-04-25 11:08 timer\Drivers\STM32F4xx_HAL_Driver\
............此处省略69个文件信息
相关资源
- STM32之can +代码解析.c
- 步进电机基本旋转控制stm32
- STM32内部flash测试程序
- AVR串口例程
- 德州技术大学的硕士论文
- STM32F103C8T6串口通信
- 基于STM32F103ZET DHT11 温湿度传感器程序
- zw_FindMaxSubString.zip
- 四旋翼STM32F411CCU6的最小系统板设计
- labwindows的串口源码
- 基于stm32的12864液晶屏的显示代码
- 主控芯片stm32f103c8t6 NRF24L01 使用IRQ处理
- 基于stm32f103c8t6的已实现模拟iic和模拟
- cpld 串口调试代码 发送接收
- STM32延时中断LED
- USB转串口驱动CH340T
- proteus单片机仿真串口汽车防夹
- FPGA 串口调试 源代码
- QT5串口上位机源代码
- labview 采集功率 电流
- RTL8305的寄存器读写以及stc的串口设置
- PS2手柄_STM32例程
- 串口数据保存、波形显示
- STM32的GPIO口模拟串口通信
- 基于SystemView的CDMA_IS_95A_前向业务信道
- stm32 光控灯源码
- 3dmax2010注册机(算号器)
- STM32Cubemx软件和驱动库
- 串口助手20190123更新-支持硬件模拟/自
- SHT20驱动STM32F103
评论
共有 条评论