代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.h
/*----------------------------------------------------------------------------
* Name: serial.h
* Purpose: serial port handling
* Version: V1.00
*----------------------------
serial.c
/*----------------------------------------------------------------------------
* Name: serial.c
* Purpose: serial port handling
* Version: V1.00
*----------------------------
serial.lst
C51 COMPILER V7.50 SERIAL 04/24/2007 11:42:07 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.c
#include "res.h"
#define STOPGTD 'P'
#define STARTGTD 'S'
#define uint16 unsigned int
extern bit ensend;
extern void InitTimer0(unsigned char);
extern unsigned char csw,ssw;
//extern uchar rdc3
serial.h
#include "stdio.h"
#define ARM7_ULCON0 (*(volatile unsigned *)0x03FFD000) //UART channel0 line control register
#define ARM7_UCON0 (*(volatile unsigned *)0x03FFD004) //UART channel0 contr
serial.c
#include "serial.h"
/****************************************************************************
* 名称:InitUART()
* 功能:串口0的初始化
* 入口参数:Baudrate 波特率的设定
* 出口参数:无
****************************
serial.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
serial.h
/****************************************************************************
*
* MODULE: serial.h
*
* COMPONENT: $RCSfile: serial.h,v $
*
* VERSION: $Name: