资源简介
STM32CubeMX 串口 DMA+空闲中断实现不定长接收 利用hal库进行修改实现不定长的uart接收,应用于不定长帧的传输
代码片段和文件信息
/**
******************************************************************************
* @file stm32f3xx_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:
(+) HAL Initialization and de-initialization functions
(+) HAL Control functions
@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 “stm32f3xx_hal.h“
/** @addtogroup STM32F3xx_HAL_Driver
* @{
*/
/** @defgroup HAL HAL
* @brief HAL module driver.
* @{
*/
#ifdef HAL_MODULE_ENABLED
/* Private typedef --------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4523 2018-03-09 09:01 USART\.mxproject
文件 1306863 2017-12-25 15:45 USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f303xe.h
文件 9198 2017-12-25 15:45 USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f3xx.h
文件 3746 2017-12-25 15:45 USART\Drivers\CMSIS\Device\ST\STM32F3xx\Include\system_stm32f3xx.h
文件 7265 2017-12-25 15:45 USART\Drivers\CMSIS\Include\arm_common_tables.h
文件 3942 2017-12-25 15:45 USART\Drivers\CMSIS\Include\arm_const_structs.h
文件 252339 2017-12-25 15:45 USART\Drivers\CMSIS\Include\arm_math.h
文件 24423 2017-12-25 15:45 USART\Drivers\CMSIS\Include\cmsis_armcc.h
文件 55083 2017-12-25 15:45 USART\Drivers\CMSIS\Include\cmsis_armcc_V6.h
文件 41435 2017-12-25 15:45 USART\Drivers\CMSIS\Include\cmsis_gcc.h
文件 37218 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cm0.h
文件 44796 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cm0plus.h
文件 103909 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cm3.h
文件 114498 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cm4.h
文件 139660 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cm7.h
文件 3620 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cmFunc.h
文件 3636 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cmInstr.h
文件 3662 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_cmSimd.h
文件 45262 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_sc000.h
文件 102809 2017-12-25 15:45 USART\Drivers\CMSIS\Include\core_sc300.h
文件 179094 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
文件 55305 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal.h
文件 19134 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_cortex.h
文件 7502 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_def.h
文件 19725 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_dma.h
文件 14014 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_dma_ex.h
文件 12839 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_flash.h
文件 22603 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_flash_ex.h
文件 13533 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_gpio.h
文件 79108 2017-12-25 15:45 USART\Drivers\STM32F3xx_HAL_Driver\Inc\stm32f3xx_hal_gpio_ex.h
............此处省略159个文件信息
- 上一篇:数字孪生城市
- 下一篇:校园门户网站静态页面
相关资源
- 条形码二维码扫描识别模块GM65程序之
- STM32F103实战项目
- STM32F030低功耗 定时5分钟 RTC唤醒
- MS5611 stm32f407 驱动
- 基于STM32的bldc控制代码
- 智能家居网关程序
- stm32103c8t6mpu6050采集程序(无其它多余
- 基于STM32空气质量检测
- 基于HC-05的主从机指纹安防系统主从机
- STM32AS608指纹识别模块
- STM32五子棋游戏
- STM32F407捕捉外部脉冲计数
- STM32F407ZG实现4*4矩阵键盘
- STM32F429ZITG6驱动OV2640串口图像助手显示
- 里程表 STM32+霍尔传感器+EEPROM+LCD+DHT
- 基于STM32F407的智能安防系统
- ROS中使用STM32作为底层控制板4WD(MD
- stm32 按键实现短按,长按,双击,组
- STM32F407温湿度上传物联网平台
- 基于STM32F4系列的4个编码器4倍频的转
- stm32f103c8串口中断不定长接收基于cu
- STM32F407+OV2640+ONENET
- STM32颜色传感器
- stm32AD采集通过fft求信号频率
- 基于STM32开发的数据手套控制机械臂
- STM32 SPI双机中断通信
- STM32F4 CAN1 通讯源码
- 基于STM32F4的小波变换移植含小波分解
- 飞控stm32程序
- NB物联网模块 STM32+BC28
评论
共有 条评论