uart.h

来自「基于STM32的RTOS例程」· C头文件 代码 · 共 42 行

H
42
字号
/****************************Copyright (c)*********************************************                                     
**                                          
**                      博格达科技有限公司
**
**                        http://www.bogodtech.com
**
**--------------文件信息--------------------------------------------------------------
** 文 件 名: uart.h
** 创 建 人: 罗辉联 	
** 创建日期: 2007年12月28日
** 描    述: uart函数实体部分
** 技术顾问: 楼东武(副教授)  浙江大学信电系
**
**---------- 版本信息------------------------------------------------------------------
** 版    本: V1.0
** 说    明: UART 相关函数主要是pwm和gpio的设置与配置
**
**-------------------------------------------------------------------------------------
**************************************************************************************/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __UART_H
#define __UART_H

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_lib.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define RxBufferSize   0x1
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Public  variables ---------------------------------------------------------*/

/* Public  functions ---------------------------------------------------------*/
void UART_onfiguration (void);  
void printf(char * format, ...);

#endif /* __UART_H */

/****************************** http://www.bogodtech.com *******END OF FILE******************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?