serial.h

来自「mcs51,2051,x86系列MCU」· C头文件 代码 · 共 43 行

H
43
字号
/*
 *  ApBUILDER INCLUDE FILE - Intel Corporation
 *
 *
 *  Purpose:            Include file for serial routines.
 *
 *
 *                      The Software is provided "AS IS."
 *
 *                      LIMITATION OF LIABILITY:    NEITHER INTEL NOR ITS VENDORS OR AGENTS
 *                      SHALL BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF DATA,
 *                      INTERRUPTION OF BUSINESS, NOR FOR INDIRECT, SPECIAL, INCIDENTAL OR
 *                      CONSEQUENTIAL DAMAGES OF ANY KIND WHETHER UNDER THIS AGREEMENT OR
 *                      OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 *
 *                      While we have made every attempt to completely test this code, we request that
 *                      you personally test it completely prior to actual inclusion in your own projects.
 *
 *  Compiler:           Developed using Compass251 from Production Languages corporation.
 *
 *  Ext Packages:       None
 *
 *  Author:             Brad B.
 *
 *  Revisions:
 *
 *
 *
 *
 */

#ifndef SERIAL_H
#define SERIAL_H

extern void init_serial(char);

/* serial routines utilize buffers of this size.. change to your liking.  Limited to approximately
 * 127 though..  Use of signed character in code must be changed for larger demands. */
#define MAX_RECEIVE_BUF    20
#define MAX_TRANSMIT_BUF   20

#endif

⌨️ 快捷键说明

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