comm.h
来自「芯片at89s52」· C头文件 代码 · 共 40 行
H
40 行
/******************************************************************************
* File Name: comm.h *
* Create Time: 2007/07/17 *
* Description: *
* Copyright : *
* History : *
* |---Data---|---Author---|--Version--|--------------Description-------------|
*****************************************************************************/
#ifndef _COMM_ /* Performed as a on-off, to avoid the header */
#define _COMM_ /* file being included more than once */
/******************************
* Head File *
*****************************/
#include"at89x52.h"
#include"string.h"
#include"LED\led.h"
/******************************
* Macros Segment *
*****************************/
#define uchar unsigned char
/******************************
* Function Declaration *
*****************************/
void Comm_init(void);
void ComSendChar(uchar out);
void ComSendStr(char str[]);
void Delay(int i);
uchar ComReceiveChar(void) ;
//void ComReceiveStr(void);
#endif
/*******************************************************************************
* The end of the entire file *
******************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?