STM32F407 串口配置 串口1~6 六串口同时使用

上传者: 42658710 | 上传时间: 2019-12-21 21:46:23 | 文件大小: 581KB | 文件类型: zip
STM32F407 串口配置 基于CubeMx的STM32F407串口代码:6各串口均已启用DMA及空闲中断,支持不定长度数据接收;可通过CubeMx裁剪串口数量,裁剪后只需编译时删去极少量与删去硬件资源相关的代码即可移植使用;默认使用片外8M晶振,可在CubeMx更改。

文件下载

资源详情

[{"title":"( 67 个子文件 581KB ) STM32F407 串口配置 串口1~6 六串口同时使用","children":[{"title":"05 UART","children":[{"title":"新建文本文档.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Inc","children":[{"title":"stm32f4xx_hal_conf.h <span style='color:#111;'> 16.93KB </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_it.h <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false}],"spread":true},{"title":".mxproject <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"MDK-ARM","children":[{"title":"RTE","children":[{"title":"_STM32F407_6UART_Test","children":[{"title":"RTE_Components.h <span style='color:#111;'> 372B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DebugConfig","children":[{"title":"STM32F407_6UART_Test_STM32F407VETx.dbgconf <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"startup_stm32f407xx.s <span style='color:#111;'> 29.44KB </span>","children":null,"spread":false},{"title":"STM32F407_6UART_Test.uvoptx <span style='color:#111;'> 17.73KB </span>","children":null,"spread":false},{"title":"STM32F407_6UART_Test.uvprojx <span style='color:#111;'> 18.62KB </span>","children":null,"spread":false},{"title":"STM32F407_6UART_Test","children":null,"spread":false}],"spread":true},{"title":"Src","children":[{"title":"system_stm32f4xx.c <span style='color:#111;'> 27.52KB </span>","children":null,"spread":false},{"title":"stm32f4xx_it.c <span style='color:#111;'> 14.71KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_msp.c <span style='color:#111;'> 21.79KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM32F407_6UART_Test.ioc <span style='color:#111;'> 12.99KB </span>","children":null,"spread":false},{"title":"Drivers","children":[{"title":"STM32F4xx_HAL_Driver","children":[{"title":"Inc","children":[{"title":"stm32f4xx_hal_flash.h <span style='color:#111;'> 15.92KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_rcc.h <span style='color:#111;'> 74.76KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_dma_ex.h <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_pwr.h <span style='color:#111;'> 15.60KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_flash_ramfunc.h <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_rcc_ex.h <span style='color:#111;'> 430.53KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_uart.h <span style='color:#111;'> 38.58KB </span>","children":null,"spread":false},{"title":"Legacy","children":[{"title":"stm32_hal_legacy.h <span style='color:#111;'> 182.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"stm32f4xx_hal.h <span style='color:#111;'> 13.77KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_tim_ex.h <span style='color:#111;'> 16.43KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_tim.h <span style='color:#111;'> 81.55KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_dma.h <span style='color:#111;'> 39.17KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_gpio.h <span style='color:#111;'> 13.34KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_gpio_ex.h <span style='color:#111;'> 81.12KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_flash_ex.h <span style='color:#111;'> 65.14KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_pwr_ex.h <span style='color:#111;'> 17.72KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_def.h <span style='color:#111;'> 8.31KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_cortex.h <span style='color:#111;'> 18.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"Src","children":[{"title":"stm32f4xx_hal_pwr_ex.c <span style='color:#111;'> 24.75KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_cortex.c <span style='color:#111;'> 20.13KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_flash_ex.c <span style='color:#111;'> 52.03KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_tim_ex.c <span style='color:#111;'> 66.96KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_flash.c <span style='color:#111;'> 25.45KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_rcc_ex.c <span style='color:#111;'> 154.10KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_pwr.c <span style='color:#111;'> 21.13KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal.c <span style='color:#111;'> 20.04KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_dma_ex.c <span style='color:#111;'> 11.74KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_uart.c <span style='color:#111;'> 85.97KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_dma.c <span style='color:#111;'> 41.01KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_flash_ramfunc.c <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_tim.c <span style='color:#111;'> 175.63KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_gpio.c <span style='color:#111;'> 20.21KB </span>","children":null,"spread":false},{"title":"stm32f4xx_hal_rcc.c <span style='color:#111;'> 42.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"CMSIS","children":[{"title":"Include","children":[{"title":"core_cm3.h <span style='color:#111;'> 101.47KB </span>","children":null,"spread":false},{"title":"cmsis_armcc.h <span style='color:#111;'> 23.85KB </span>","children":null,"spread":false},{"title":"core_cmFunc.h <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"cmsis_gcc.h <span style='color:#111;'> 40.46KB </span>","children":null,"spread":false},{"title":"core_cm4.h <span style='color:#111;'> 111.81KB </span>","children":null,"spread":false},{"title":"core_cmInstr.h <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"core_cm7.h <span style='color:#111;'> 136.39KB </span>","children":null,"spread":false},{"title":"arm_math.h <span style='color:#111;'> 246.42KB </span>","children":null,"spread":false},{"title":"arm_const_structs.h <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"core_cm0plus.h <span style='color:#111;'> 43.75KB </span>","children":null,"spread":false},{"title":"core_sc300.h <span style='color:#111;'> 100.40KB </span>","children":null,"spread":false},{"title":"core_cmSimd.h <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"arm_common_tables.h <span style='color:#111;'> 7.09KB </span>","children":null,"spread":false},{"title":"cmsis_armcc_V6.h <span style='color:#111;'> 53.79KB </span>","children":null,"spread":false},{"title":"core_sc000.h <span style='color:#111;'> 44.20KB </span>","children":null,"spread":false},{"title":"core_cm0.h <span style='color:#111;'> 36.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"Device","children":[{"title":"ST","children":[{"title":"STM32F4xx","children":[{"title":"Source","children":[{"title":"Templates","children":null,"spread":false}],"spread":true},{"title":"Include","children":[{"title":"stm32f4xx.h <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.h <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"stm32f407xx.h <span style='color:#111;'> 1.28MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • weixin_41819961 :
    用的HAL库,MX配置,对我们用标准库的人来说,没什么用,看不懂。差别太大了。浪费钱了!
    2020-02-27
  • 东莞力顶 :
    用的HAL库,MX配置,对我们用标准库的人来说,没什么用,看不懂。差别太大了。浪费钱了!
    2020-02-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明