资源简介
STM32F103VET6 串口DMA+空闲中断接收,接收到的数据用DMA串口实时发送回去。相对于之前上传的版本,修复了一个bug。
关于bug的详细描述,参考我的博文:https://blog.csdn.net/mickey35/article/details/78521311

代码片段和文件信息
/**
******************************************************************************
* @file stm32f1xx_hal.c
* @author MCD Application Team
* @version V1.1.1
* @date 12-May-2017
* @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) 2016 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 “stm32f1xx_hal.h“
/** @addtogroup STM32F1xx_HAL_Driver
* @{
*/
/** @defgroup HAL HAL
* @brief HAL module driver.
* @{
*/
#ifdef HAL_MODULE_ENABLED
/* Private typedef -----------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6845 2017-11-14 10:38 DEMO\.mxproject
文件 341 2020-10-24 14:08 DEMO\changelog.md
文件 5977 2017-11-14 10:38 DEMO\DEMO.ioc
文件 971857 2017-11-14 08:55 DEMO\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
文件 8788 2017-11-14 08:55 DEMO\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
文件 3337 2017-11-14 08:55 DEMO\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
文件 7265 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\arm_common_tables.h
文件 3942 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\arm_const_structs.h
文件 252339 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\arm_math.h
文件 24423 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\cmsis_armcc.h
文件 55083 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\cmsis_armcc_V6.h
文件 41435 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\cmsis_gcc.h
文件 37218 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cm0.h
文件 44796 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cm0plus.h
文件 103909 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cm3.h
文件 114498 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cm4.h
文件 139660 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cm7.h
文件 3620 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cmFunc.h
文件 3636 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cmInstr.h
文件 3662 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_cmSimd.h
文件 45262 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_sc000.h
文件 102809 2017-11-14 08:55 DEMO\Drivers\CMSIS\Include\core_sc300.h
文件 181878 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
文件 12026 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h
文件 18859 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h
文件 8569 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h
文件 19528 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h
文件 14148 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h
文件 10636 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h
文件 38285 2017-11-14 08:55 DEMO\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h
............此处省略142个文件信息
相关资源
- stm32f407上的两个can发送和接收例程
- 易语言OTG串口通信
- delphi 串口通讯
- STM32 led 时钟
- STM32 2.4G通信例程
- 直流无刷电机方波驱动 stm32 例程代码
- STM32中文资料
- STM32蓝牙和串口程序
- 基于xilinx FPGA的PCIe设计实战
- STM32f103超声波模块例程
- stm32f103c8t6 4 oled.rar
- LCD显示温度+串口接收温度.rar
- WPF USB 网络 串口 通信软件
- stm32f030 IAP Demo(原创)
- DELPHI与西门子200PLC的串口通信实例
- Verilog FPGA UART串口控制器
- USB转串口驱动,FT232R驱动程序,最新
- STM32基于rt_thread操作系统的SDHC卡文件
- PC -- 单片机的串口数据传输系统设计
- NRF24L01实现51与STM32双向通讯
- STM32F103 串口程序(完整版)
- 一个简单的verilog编写的DMA IP CORE,和
- stm32 ds18b20 温度传感器 测试通过
- PC 串口调试软件
- stm32官方例程
- STM32F103定时器中断程序
- [免费]基于stm32f103ze 的OLED驱动代码
- 51单片机读取温度数据存储到SD卡中并
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- 单片机与PC机串口通讯仿真
评论
共有 条评论