代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.hex
:03000000020852A1
:0C085200787FE4F6D8FD75813F0207882E
:10081200696E70757420782C793A0A002564256413
:0C082200000A0025642B25643D256400BD
:10078800758920759850758DF4758BF4D28E7587A0
:1007980080D2997B
serial.plg
礦ision3 Build Log
Project:
E:\单片机学习\学习板参考程序\串口\serial.uv2
Project File Date: 11/14/2007
Output:
compiling ser.C...
ser.C - 0 Error(s), 0 Warn
serial.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
serial.h
#ifndef _SERIAL_
#define _SERIAL_
#define BAUDRATE0 115200 // 用户定义的UART0 波特率
#define DB_SENDMAXSIZE 0x80
#define DB_RECMAXSIZE 0x80
void init_serial(void);
void OpenComm(void);
void SendC
serial.c
//-----------------------------------------------------------------------------
// Copyright (c) 2002 Jim Brady
// Do not use commercially without author's permission
// Last revised August 2002
/
serial.lst
C51 COMPILER V8.02 SERIAL 09/21/2006 20:16:31 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.h
//收发缓冲区长度
#define LenTxBuf 200 //Don't too small,because it will cause display abnormal.
#define LenRxBuf 560 //设为MaxCmd的整数倍
#define MaxCmd 80 //收到80个字符后才检查是否到命令边界
#define MaxLenStr 100 /*buf[M
serial.c
//波特率计算公式:
// TH1=256-(2^SMOD/32*Fosc/12*1/Bound)
// 其中:SMOD=0,1;Fosc=晶体或晶振频率;Bound=波特率
// 本例中,SMOD=0;Fosc=20*10E6;Bound=300,所以TH1=0x52。
//Baud rate(20Mhz)
//300(52);1200(D5);2400(EA
serial.h
/*
* include/linux/serial.h
*
* Copyright (C) 1992, 1994 by Theodore Ts'o.
*
* Redistribution of this file is permitted under the terms of the GNU
* Public License (GPL)
*
* These are the U