代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.c
/*********************************************************************************************************
** Small RTOS(51)
** Th
serial.__i
"serial.c" LARGE BROWSE DEBUG OBJECTEXTEND PRINT(.\DeBug\serial.lst) SRC (.\DeBug\serial.SRC)
serial.lst
C51 COMPILER V7.50 SERIAL 03/06/2007 22:52:16 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.src
; .\DeBug\serial.SRC generated from: serial.c
; COMPILER INVOKED BY:
; C:\Keil\C51\BIN\C51.EXE serial.c LARGE BROWSE DEBUG OBJECTEXTEND PRINT(.\DeBug\serial.lst) SRC(.\DeBug\serial.SRC)
$N
serial.h
void InitSerial() reentrant;//串口初始化
void InitSerialBuffer(void) reentrant;//串口缓冲区初始化
bit yygetch(unsigned char *ch) reentrant;//从串口缓冲区读1字节数据
void PrintChar(unsigned char ch) reentrant;//显示字符
serial.c
#ifndef OS_MASTER_FILE
#include "includes.h"
#endif
//#include
//#include
//#include
unsigned char TxBuf[LenTxBuf],RxBuf[LenRxBuf];//收发缓冲区实体
unsigned
serial.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
serial.h
void InitSerial() reentrant;//串口初始化
void serial(void) reentrant;//串口中断服务子程序
serial.c
#ifndef OS_MASTER_FILE
#include "includes.h"
#endif
void InitSerial() reentrant//串口初始化
{
TMOD=TMOD&0x0F;
TMOD=TMOD|0x20;
TL1=0xFD,TH1=0xFD;//19200 , 22.1184MHz