串口收发数据DMA实现

上传者: 15548761 | 上传时间: 2021-08-24 09:08:49 | 文件大小: 11.86MB | 文件类型: ZIP
串口传输用中断实现的话,要频繁的进入中断函数,这样无疑增加MCU的负担,干扰正常程序的运行,对于一些实时性强的应用,如数字显示应用中,液晶屏显示可能受影响而不能正常显示。用DMA实现串口收发数据,进行数据收发过程中,不需要MCU的干预,由DMA独立完成数据的收发,接收或者发送完成后才进入中断做后续处理,因此MCU使用效率更高。

文件下载

资源详情

[{"title":"( 99 个子文件 11.86MB ) 串口收发数据DMA实现","children":[{"title":"usart_dma","children":[{"title":"MDK","children":[{"title":"startup_hc32f46x.s <span style='color:#111;'> 25.87KB </span>","children":null,"spread":false},{"title":"main.uvguix.Administrator <span style='color:#111;'> 180.19KB </span>","children":null,"spread":false},{"title":"ddl_config.h <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":"Readme.txt <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"main.uvoptx <span style='color:#111;'> 21.71KB </span>","children":null,"spread":false},{"title":"JLinkSettings.ini <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"RTE","children":[{"title":"_HC32F460","children":[{"title":"RTE_Components.h <span style='color:#111;'> 336B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"output","children":[{"title":"debug","children":[{"title":"main_1.crf <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"main.hex <span style='color:#111;'> 74.29KB </span>","children":null,"spread":false},{"title":"systick.d <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"hc32f46x_dmac.crf <span style='color:#111;'> 1.23MB </span>","children":null,"spread":false},{"title":"hc32f46x_i2c.crf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"main.lnp <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"hc32f46x_timer4_cnt.o <span style='color:#111;'> 1.51MB </span>","children":null,"spread":false},{"title":"bsp_led.crf <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"hc32f46x_usart.crf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"hc32f46x_timer0.d <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"hc32f46x_timer4_cnt.d <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"usart.o <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"main_1.o <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"hc32f46x_timer4_cnt.crf <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"hc32f46x_i2c.d <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"main.sct <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"oled.o <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"hc32f46x_efm.d <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"main_HC32F460.dep <span style='color:#111;'> 38.78KB </span>","children":null,"spread":false},{"title":"main.axf <span style='color:#111;'> 1.76MB </span>","children":null,"spread":false},{"title":"bsp_led.d <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"hc32f46x_clk.d <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"systick.crf <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"main.crf <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"hc32f46x_dmac.d <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"hc32f46x_usart.o <span style='color:#111;'> 1.58MB </span>","children":null,"spread":false},{"title":"usart.crf <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"main.map <span style='color:#111;'> 138.42KB </span>","children":null,"spread":false},{"title":"startup_hc32f46x.d <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"hc32f46x_timer0.crf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"hc32f46x_interrupts.d <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"hc32f46x_icg.crf <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"main.htm <span style='color:#111;'> 110.47KB </span>","children":null,"spread":false},{"title":"oled.d <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"hc32f46x_gpio.o <span style='color:#111;'> 1.55MB </span>","children":null,"spread":false},{"title":"hc32f46x_pwc.crf <span style='color:#111;'> 1.23MB </span>","children":null,"spread":false},{"title":"ExtDll.iex <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"hc32f46x_utility.o <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"oledfont.o <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"hc32f46x_efm.crf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"hc32f46x_gpio.crf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"hc32f46x_pwc.o <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"hc32f46x_utility.crf <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"hc32f46x_gpio.d <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"hc32f46x_i2c.o <span style='color:#111;'> 1.56MB </span>","children":null,"spread":false},{"title":"hc32f46x_pwc.d <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"hc32f46x_timer0.o <span style='color:#111;'> 1.55MB </span>","children":null,"spread":false},{"title":"main.d <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"bsp_led.o <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"main_1.d <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"i2c.crf <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false},{"title":"main.build_log.htm <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"i2c.o <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"systick.o <span style='color:#111;'> 1.58MB </span>","children":null,"spread":false},{"title":"hc32f46x_clk.o <span style='color:#111;'> 1.58MB </span>","children":null,"spread":false},{"title":"hc32f46x_icg.d <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"hc32f46x_icg.o <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"hc32f46x_clk.crf <span style='color:#111;'> 1.23MB </span>","children":null,"spread":false},{"title":"system_hc32f46x.crf <span style='color:#111;'> 1.20MB </span>","children":null,"spread":false},{"title":"system_hc32f46x.d <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"hc32f46x_dmac.o <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"usart.d <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"hc32f46x_utility.d <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"startup_hc32f46x.o <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"hc32f46x_usart.d <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"hc32f46x_efm.o <span style='color:#111;'> 1.55MB </span>","children":null,"spread":false},{"title":"oledfont.crf <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false},{"title":"i2c.d <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"hc32f46x_interrupts.crf <span style='color:#111;'> 1.24MB </span>","children":null,"spread":false},{"title":"oledfont.d <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"hc32f46x_interrupts.o <span style='color:#111;'> 1.76MB </span>","children":null,"spread":false},{"title":"oled.crf <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"system_hc32f46x.o <span style='color:#111;'> 1.51MB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"main.uvprojx <span style='color:#111;'> 37.45KB </span>","children":null,"spread":false},{"title":"JLinkLog.txt <span style='color:#111;'> 217.34KB </span>","children":null,"spread":false},{"title":"EventRecorderStub.scvd <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"main.uvguix.casy <span style='color:#111;'> 173.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"source","children":[{"title":"main.c <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"hc32f46x_interrupts.c <span style='color:#111;'> 107.05KB </span>","children":null,"spread":false},{"title":"bsp","children":[{"title":"oled.c <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"oled.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"bsp_led.c <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"oledfont.h <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"oledfont.c <span style='color:#111;'> 13.35KB </span>","children":null,"spread":false},{"title":"bsp_led.h <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"hc32f46x_interrupts.h <span style='color:#111;'> 21.73KB </span>","children":null,"spread":false},{"title":"user_driver","children":[{"title":"i2c.c <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"SysTick.c <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"usart.c <span style='color:#111;'> 12.03KB </span>","children":null,"spread":false},{"title":"usart.h <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"SysTick.h <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"i2c.h <span style='color:#111;'> 677B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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