代码搜索结果
找到约 1,839 项符合
Modbus 的代码
modbus.c
#include "common.h"
#include "rtu.h"
// CRC 高位字节值表
unsigned char code auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC
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 V8.05a MODBUS 08/19/2008 15:20:43 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE MODBUS
OBJECT MODULE PLACED IN
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