1234567891011121314151617181920212223242526 |
- #ifndef __USART_AS_H
- #define __USART_AS_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* 包含头文件-----------------------------------------------------------------*/
- #include "stm32f10x.h"
- /* 宏定义---------------------------------------------------------------------*/
- /* 类型定义-------------------------------------------------------------------*/
- /* 全局变量-------------------------------------------------------------------*/
- /* 函数原型-------------------------------------------------------------------*/
- void usart1_config(uint32_t baud);
- void usart2_config(uint32_t baud);
- void usart3_config(uint32_t baud);
- #ifdef __cplusplus
- }
- #endif
- #endif /* usart.h */
|