代码搜索结果
找到约 1,839 项符合
Modbus 的代码
modbus.c
#include "reg52.h"
#include
//类型定义
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
sbit E485=P3^2; //max485发送允许
uchar *pushMsg; /*要进行C
modbus.lst
C51 COMPILER V8.01 MODBUS 03/26/2007 20:26:46 PAGE 1
C51 COMPILER V8.01, COMPILATION OF MODULE MODBUS
OBJECT MODULE PLACED IN
modbus.c
#pragma small //LARGE
#include
#include
#define uchar unsigned char
#define uint unsigned int
idata uchar in_buff[5],ex_buff[5],r_buff[10],r_ptr,NUM;
idata uint in_value[5
modbus.h
#include "reg51.h"
#include "ModBusStr.h"
#define uchar unsigned char
#define uint unsigned int
#define uint8 unsigned char
#define uint16 unsigned int
#define OK 1
#define ERROR 0
#defi
modbus.c
#include "main.h"
//字地址 0 - 255 (只取低8位)
//位地址 0 - 255 (只取低8位)
/* CRC 高位字节值表 */
const uint8 code auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x0
modbus.lst
C51 COMPILER V7.06 MODBUS 03/16/2005 16:48:06 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE MODBUS
OBJECT MODULE PLACED IN