代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.h
//#define DEBUG
typedef struct{
unsigned char prompt; /*prompt after reciving data*/
int baudrate; /*baudrate*/
unsigned char databit; /*data bits, 5,
serial.c
#include /*printf*/
#include /* open */
#include /* bzero */
#include /*exit */
#include
serial.c
//Process 1:
//ComDes = open( "/dev/ttyS0", O_RDWR );
//read( ComDes, ReadBuffer, LENGTH );
//Process 2:
//ComDes = open( "/dev/ttyS1", O_RDWR );
//write( ComDes, WriteBuffer, LENGTH );
//////
serial.h
/*serlai.h H*/
#ifndef _SER_H_
#define _SER_H_
uchar getch(void);
void ser_putch(uchar);
void inisport(void);
#endif
serial.c
#include "config.h" /* system definition */
//#include "serial.h"
/*******************************************************
*函数名称:void putch(unsigned char ch)
serial.lst
C51 COMPILER V7.20 SERIAL 11/14/2004 00:50:07 PAGE 1
C51 COMPILER V7.20, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.h
/*
*********************************************************************************************************
* uC/OS-II
*
serial.c
/*
*********************************************************************************************************
* uC/OS-II
*
serial.c
/*
* linux/kernel/serial.c
*
* (C) 1991 Linus Torvalds
*/
/*
* serial.c
*
* This module implements the rs232 io functions
* void rs_write(struct tty_struct * queue);
* void rs_init(void);