代码搜索结果
找到约 10,000 项符合
Serial 的代码
serial.h
#ifndef __SERIAL_H__
#define __SERIAL_H__
typedef int (*serial_init_func_t)(int);
typedef int (*serial_read_func_t)(void);
typedef int (*serial_write_func_t)(int);
typedef int (*serial_poll_fun
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.cpp
// Serial.cpp: implementation of the CSerial class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "A39cmd.h"
//#include "CMD_COLLECTION.
serial.h
// Serial.h: interface for the CSerial class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SERIAL_H__BD0349C5_0B77_439D_9091_DEAF6282E88B__INCLUDED_)
serial.lst
C51 COMPILER V7.09 SERIAL 06/03/2004 19:30:55 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE SERIAL
OBJECT MODULE PLACED IN
serial.c
#include
#include
#include
//
const unsigned char Baud12 = 0xCC; //24M baudrate 1202
//~~~~~Function Declaration~~~~~~
extern void SensorSta(void);
extern