STM32串口典型配置.docVIP

  • 35
  • 0
  • 约2.01万字
  • 约 19页
  • 2017-01-30 发布于重庆
  • 举报
STM32串口典型配置

usart.h : 头文件 /*------------------------------------------------------------------------------------------------------------------*/ #ifndef __USART_H #define __USART_H /* Include -------------------------------------------------------------------*/ #include stm32f10x.h #include stdio.h #include stdarg.h //#include assert.h /* Define Typedef ----------------------------------------------------------*/ /* Macro Switch ---------------------------------------------*/ /*注:以下宏供移植时选择和修改 */ #define USE_RS485 2 //使用RS485 #define USE_USART1 //使用串口1 #define U

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档