代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.c
/*********************************************************************************************************
** Small RTOS(51)
** Th
serial.c
/*********************************************************************************************************
** Small RTOS(51)
** Th
serial.lst
C51 COMPILER V7.50 SERIAL 06/11/2008 14:41:36 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.h
/*serlai.h H*/
#ifndef _SER_H_
#define _SER_H_
uchar serial_getch(void);
void serial_putch(uchar);
void serial_init(void);
#endif
serial.c
#include "cmddefine.h"
#include "serial.h"
//////////////////////////////////////////////////////////////////////
void serial_putch(unsigned char ch)
{
SBUF = ch;
TI =
serial.lst
C51 COMPILER V7.50 SERIAL 11/28/2007 08:37:24 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.c
/*
* serial.c
*
* This module implements the rs232 io functions
* void rs_write(struct tty_struct * queue);
* void rs_init(void);
* and all interrupts pertaining to serial IO.
*/
#include
serial.h
int open_port(int fd,int comport);
int set_opt(int fd,int nSpeed, int nBits, char nEvent, int nStop);