代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.c
#include "tdp.h"
#include
#include
#define TBUF_SIZE 256 /* 这两行不要改动 */
#define RBUF_SIZE 256
static xdata unsigned char tbuf [TBUF_SIZE];
static xdata unsigned char rbu
serial.h
/******************************************************************************
*
* Copyright (c) 2003 Gerhard W. Gruber
*
* PROJECT: pICE
* $Source: /cvsroot/pice/pice/module/serial.h,v $
* $Re
serial.c
/******************************************************************************
*
* Copyright (c) 2003 Gerhard W. Gruber
*
* PROJECT: pICE
* $Source: /cvsroot/pice/pice/module/serial.c,v $
* $Re
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.lst
C51 COMPILER V7.07 SERIAL 11/25/2003 15:47:50 PAGE 1
C51 COMPILER V7.07, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.c
//-----------------------------------------------------------------------------
// Copyright (c) 2002 Jim Brady
// Do not use commercially without author's permission
// Last revised August 2002
/
serial.c
/*
* linux/kernel/serial.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* Extensively rewritten by Theodore Ts'o, 8/16/92 -- 9/14/92. Now
* much more extensible to support other ser
serial.h
/*
* include/linux/serial.h
*
* Copyright (C) 1992 by Theodore Ts'o.
*
* Redistribution of this file is permitted under the terms of the GNU
* Public License (GPL)
*/
/*
* This is
serial.h
#ifndef serial_h_
#define serial_h_
/* mt: file added */
void uart0_init (void);
int uart0_putc(int ch);
int uart0_putchar (int ch);
void uart0_puts(char *s);
int uart0_kbhit( void );