代码搜索结果
找到约 892 项符合
RS485 的代码
rs485.h
#if !defined( _RS485_H )
#define _RS485_H
#define COM1 0
#define COM2 1
#define COM3 2
#define COM4 3
int InitUART( int PortNum, int BaudIdx );
int InstallISR( int PortNum );
int Uninstall
485demo.cpp
#include
#include
#include
#include
#include "rs485.h"
char InStr[1024];
int GetCOM_NUM( char* NumStr );
int main( int argc, char** argv )
{
tongxun1.c
/*********************************************************************
*这是在AT89C52单片机上运行的程序,文件名为tongxun1.c
*功能:与组态王通讯的51模块,AT89C52作为分站与上位机(PC机或工控机)通
* 讯,双方均有RS485接口 ,用T1作波特率发生器, 波特率为9600, 配套
tongx3.c
/*********************************************************************
*文件名: tongx3.c
*功 能:AT89C52与N台AT89C2051通讯,双方均有RS485接口 ,AT89C52用T2作
* 波特率发生器, 波特率为9600,配套89C2051程序为EYE124.C
**********
rs485.dni
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[TraceHelper]
Enabled=0
ShowSource=1
[DisAssemblyWindow]
NumStates=_ 1
State 1=_