代码搜索结果
找到约 10,000 项符合
Serial 的代码
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.cpp
// Serial.cpp
#include "stdafx.h"
#include "Serial.h"
#include "Gps.h"
#include "Winbase.h"
CSerial::CSerial()
{
m_hIDComDev = NULL;
m_bOpened = FALSE;
m_bNoRead = FALSE;
}
CSeri
serial.h
// Serial.h
#ifndef __SERIAL_H__
#define __SERIAL_H__
DWORD WINAPI ReadPortThread(LPVOID lpvoid); //Read serial Port Thread
class CGps;
class CSerial
{
public:
BOOL m_bNoRead;
serial.lst
C51 COMPILER V7.07 SERIAL 06/01/2004 12:59:40 PAGE 1
C51 COMPILER V7.07, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.c
/*
extern char getbyte(void);//从接收缓冲区取一个byte,如不想等待则在调用前检测inbufsign是否为1。
extern putbyte(char c);//放入一个字节到发送缓冲区
extern putstring(uchar *puts);//发送一个字符串到串口
extern puthex(uchar c);//发送一个字节的hex码,分成两个字
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