代码搜索结果
找到约 10,000 项符合
Serial 的代码
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
serial.cpp
// ComAPI.cpp: implementation of the CSerial class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Serial.h"
#ifdef _DEBUG
#undef THI
serial.h
// ComAPI.h: interface for the CSerial class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMAPI_H__7F3E5E71_4823_404B_A46A_0708F2DAFFEA__INCLUDED_)
serial.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
serial.cmd
/**********************************************************************/
/* File Name: leds.cmd */
/* Target System: C24xx Evaluation Board
serial.c
/* 2407A板:
使用直连的串口通信电缆;
启动串口调试助手.exe;
PC机发送一个"."为结束标志
*/
#include "2407c.h"
void wait(int nWait);
char cString[17]={ "Hello PC!,Over|" },cReceive,cBuffer[17],cAnswer[