代码搜索:Serialport
找到约 4,040 项符合「Serialport」的源代码
代码结果 4,040
www.eeworm.com/read/225456/14540528
h serialport.h
//CSerialPortEx类是在Remon Spekreijse设计的CSerialPort类基础上设计的,并增加
//了对二进制数据传输和块读写方式的支持和其他功能函数。关于CSerialPort类的声明如下:
/*
** FILENAME SerialPort.h
**
** PURPOSE This class can read, write and watch on
www.eeworm.com/read/124414/14569315
frm serialport.frm
VERSION 5.00
Begin VB.Form SerialPort
Caption = "串口演示"
ClientHeight = 3150
ClientLeft = 60
ClientTop = 345
ClientWidth = 4515
LinkTopic
www.eeworm.com/read/124084/14594409
c serialport.c
#include /*标准输入输出定义*/
#include /*文件控制定义*/
#include /*PPSIX 终端控制定义*/
#include /*错误号定义*/
#include "serialPort.h"
/**
*@
www.eeworm.com/read/124084/14594410
h serialport.h
#ifndef __SERIALPORT__
#define __SERIALPORT__
#define FALSE 0
#define TRUE 1
/**
*@brief 设置串口通信速率
*@param fd 类型 int 打开串口的文件句柄
*@param speed 类型 int 串口速度
*@return void
*/
void set_speed(int
www.eeworm.com/read/223330/14645493
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/223330/14645494
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/123122/14646372
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/123122/14646379
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/222754/14676414
plg serialport.plg
Build Log
--------------------Configuration: SerialPort - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\AD
www.eeworm.com/read/222754/14676420