代码搜索结果

找到约 10,000 项符合 Serial 的代码

serial.h

#ifndef _SERIAL_H #define _SERIAL_H #define COM1 0 #define COM2 1 /* 定义串口模式设置数据结构 */ typedef struct UartMode { INT8U datab; // 字长度,5/6/7/8 INT8U stopb; // 停止位,1/2

serial.h

//===================================================================== // TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION // Property of Texas Instruments -- For Unrestri

serial.c

//===================================================================== // TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION // Property of Texas Instruments -- For Unrestricted Internal

serial.c

#include "../inc/def.h" #include "../inc/config.h" #include "../inc/board.h" #include "44b.h" #include "option.h" static U16 SerialPortSel; U16 SerialSwitch(U16 port) { #ifdef SERIAL_PORTS

serial.h

int open_port(int fd,int comport); int set_opt(int fd,int nSpeed, int nBits, char nEvent, int nStop);

serial.c

#include #include #include #include #include #include #include #include #include #include

serial.h

#ifndef __SERIAL_H__ /* Header Sentry */ #define __SERIAL_H__ void InitSerial_0(void) ; //void serial(void) reentrant; //-------FOR DEBUG---------- void Uart0_print(char *p); void Uart0_prin

serial.c

#ifndef OS_MASTER_FILE #include #endif #include "serial.h" #include #include #include "uip\uip.h" sbit LED_RED = P3 ^ 3; sbit LED