代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.h
#ifndef __SERIAL_H__
#define __SERIAL_H__
extern int sendchar (int ch);
extern int getkey (void);
extern void serial_init(void);
#endif
serial.c
/******************************************************************************/
/* SERIAL.C: Low Level Serial Routines */
/***********************************
serial.cpp
#include "stdafx.h"
#include
#define WM_COMM WM_USER+100;
class CCOM
{
public:
char readbyte();
void sendbyte(unsigned char sdata);
void sendstrn(CString mess);
void initcom(int
serial.c
/*
********************************************************************************
* Wiznet.
* 5F Simmtech Bldg., 228-3, Nonhyun-dong, Kangnam-gu,
* Seoul, Korea
*
* (c) Copyright 2002, Wiznet,
serial.h
/*
********************************************************************************
* Wiznet.
* 5F Simmtech Bldg., 228-3, Nonhyun-dong, Kangnam-gu,
* Seoul, Korea
*
* (c) Copyright 2002, Wiznet,
serial.cpp
// Serial.cpp
#include "stdafx.h"
#include "Serial.h"
CSerial::CSerial()
{
memset( &m_OverlappedRead, 0, sizeof( OVERLAPPED ) );
memset( &m_OverlappedWrite, 0, sizeof( OVERLAPPED ) );
serial.h
// Serial.h
#ifndef __SERIAL_H__
#define __SERIAL_H__
#define FC_DTRDSR 0x01
#define FC_RTSCTS 0x02
#define FC_XONXOFF 0x04
#define ASCII_BEL 0x07
#define ASCII_BS