代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.h
/*---------------------------------------------------------------------------*/
/**
@file serial.h
@brief Serial API header file
Serial utility functions, it helps programmer easily opera
serial.c
/*---------------------------------------------------------------------------*/
/**
@file serial.c
@brief Serial API define file
Serial utility functions, it helps programmer easily opera
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
serial.vhd
--
-- 本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在
--PC机上安装一个串口调试工具来验证程序的功能。
-- 程序实现了一个收发一帧10个bit(即无奇偶校验位)的串口控
--制器,10个bit是1位起始位,8个数据位,1个结束
--位。串口的波特律由程序中定义的div_par参数决定,更改该参数可以实
--现相应的波特率。程序当前设定的div_par 的值 ...
serial.h
/*----------------------------------------------------------------------------------
File: serial.h
Author: Qiu Peng [roc98@163.ne]
Note: header of serial driver for Intel 196KC
Cre
serial.c
/*----------------------------------------------------------------------------------
File: serial.h
Author: Qiu Peng [roc98@163.ne]
Note: serial driver for Intel 196KC
Create Date: