资源简介
串口空闲IDEL中断+DMA(可接受任意长度的字符)。现在有很多数据处理都要用到不定长数据,而单片机串口的RXNE中断一次只能接收一个字节的数据,没有缓冲区,无法接收一帧多个数据,利用串口IDLE空闲中断的方式接收一帧数据。
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.5.0
* @date 06-March-2015
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* and Divider factors AHB/APBx prescalers and Flash settings)
* depending on the configuration made in the clock xls tool.
* 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.
*
* 2. After each device reset the HSI (16 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f4xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 25MHz refer to “HSE_VALUE“ define
* in “stm32f4xx.h“ file. When HSE is used as system clock source directly or
* through PLL and you are using different crystal you have to adapt the HSE
* value to your own configuration.
*
* 5. This file configures the system clock as follows:
*=============================================================================
*=============================================================================
* Supported STM32F40xxx/41xxx devices
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-----------------------------------------------------------------------------
* HCLK(Hz)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-01-31 22:27 USART6_DMA_NVIC\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Include\
文件 767942 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
文件 2232 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\
文件 31133 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
文件 135 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\说明.txt
文件 53272 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
文件 141 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\说明.txt
目录 0 2020-01-31 22:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\
文件 7251 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\arm_common_tables.h
文件 3940 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\arm_const_structs.h
文件 251190 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\arm_math.h
文件 34051 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cm0.h
文件 41438 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cm0plus.h
文件 100475 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cm3.h
文件 109951 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cm4.h
文件 130351 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cm7.h
文件 17427 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cmFunc.h
文件 26854 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cmInstr.h
文件 22948 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_cmSimd.h
文件 42756 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_sc000.h
文件 99227 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\Include\core_sc300.h
文件 140 2018-12-18 15:26 USART6_DMA_NVIC\Libraries\CMSIS\说明.txt
............此处省略236个文件信息
相关资源
- STM32F103RCT6_USART1串口通信代码
- 基于verilog的带fifo的串口设计
- freetype2+SDL+SDL_ttf源码包及字符串转b
- Terminal 1.9b汉化版(串口调试工具)
- 两块STM32开发板--i2c主从模式
- ESP8266_RTOS_SDK-3.1
- ZigBee定位 串口读取RSSI值并计算出距
- 基于Ymodem的STM32F4串口IAP
- vs2008编的串口调试助手源程序工程文
- cc2540/cc2541 串口透传 BLE App
- 摄像机串口通信代码 VISCA协议VS完整外
- DY-SV17F开发资料+STM32F103串口2驱动
- VS串口通讯
- vs2010串口发送接收程序
- stm32f103C8 USB串口+FreeRTOS+ADC
- 串口存储数据工程文件.rar
- 串口调试助手+源代码+ 注释+2个word文
- STM32L151C8T6 UCSOII 代码 串口中断接收
-
用于STM系列单片机调试的Jli
nk&串口 - 利用API函数实现串口通信
- VSwin32命令控制台与单片机串口数据传
- VSwin32命令控制台与单片机串口数据传
- STM32 F407 虚拟串口原子开发板可用
- 基于Modbus通信协议的串口通信程序
- SecureCRT 7.3.6英文版 32位/64位版 注册码
- STM32 USB VCP Driver V1.3 32&64
- stc15单片机串口和模拟spi控制adf4360-
- USB转虚拟串口
- STM32L073实现DMA方式获取ADC多通道值,
- STM32 USB转串口驱动 Virtual COM Port Driv
评论
共有 条评论