代码搜索:Serialport
找到约 4,040 项符合「Serialport」的源代码
代码结果 4,040
www.eeworm.com/read/387168/8702635
h serialport.h
/*
** FILENAME CSerialPort.h
**
** PURPOSE This class can read, write and watch one serial port.
** It sends messages to its owner when something happends on the port
** The class
www.eeworm.com/read/286928/8737236
cpp serialport.cpp
// SerialPort.cpp: implementation of the CSerialPort class.
//
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////data///
www.eeworm.com/read/286928/8737247
h serialport.h
// SerialPort.h: interface for the CSerialPort class.
//
//////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------
www.eeworm.com/read/286872/8738927
cpp serialport.cpp
#include "stdafx.h"
#include "SerialPort.h"
#include
//
// Constructor
//
CSerialPort::CSerialPort()
{
m_hComm = NULL;
// initialize overlapped structure members to zero
www.eeworm.com/read/386532/8738943
cpp serialport.cpp
#include "stdafx.h"
#include "SerialPort.h"
#include
//
// Constructor
//
CSerialPort::CSerialPort()
{
m_hComm = NULL;
// initialize overlapped structure members to zero
www.eeworm.com/read/286872/8738947
h serialport.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
#define WM_COMM_BREAK_DETECTED WM_USER+1 // A break was detected on input.
#define WM_COMM_CTS_DETECTED WM_USER+2 // The CTS (clear-to-send)
www.eeworm.com/read/386532/8738960
h serialport.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
#define WM_COMM_BREAK_DETECTED WM_USER+1 // A break was detected on input.
#define WM_COMM_CTS_DETECTED WM_USER+2 // The CTS (clear-to-send)
www.eeworm.com/read/286502/8762621
cpp serialport.cpp
//=======================================================================================
// Module : SERIALPORT.CPP
// Purpose: Implementation for an MFC wrapper class for serial ports
// Created:
www.eeworm.com/read/286502/8762629
h serialport.h
//=======================================================================================
// Module : SERIALPORT.H
// Purpose: Declaration for an MFC wrapper class for serial ports
// Created: PJN
www.eeworm.com/read/286341/8770441
cpp serialport.cpp
/*
** 文件名称: CSerialPort.cpp
**
** 描述: 这个类能读,写和监视一个端口
** 当端口发生事件时他能给所有者发送消息
** 这个类创建一个线程来读和写,因此,主程序不会阻塞
**
** 作者: 李洋
*/
#include "stdafx.h"
#include "SerialPort.h"
#inc