代码搜索结果
找到约 892 项符合
RS485 的代码
rs485.txt
; generated by ARM/Thumb C/C++ Compiler with , RVCT3.0 [Build 951] for uVision
; commandline ArmCC [--debug -c --asm --interleave -ors485.o --device=DARMP --apcs=interwork -O0 -IC:\Keil\ARM\INC\Phili
rs485.h
#ifndef __RS485__
#define __RS485__
/************UART0******************/
extern uint8 UART0_GetByte (void);
extern void UART0_GetStr (uint8 *s, uint32 n) ;
extern void UART0_S
rs485.c
#include "..\APP\config.h"
/*
*********************************************************************************************************
** 函数名称 :UART0_GetByte()
** 函数功能 :从串口接收1字节数据,使用查询方式接收。
*
rs485串口.c
const char auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40,
max490.c
/*******************************************************
RS485通信实验
网址:http://www.kaifaban.com
功能:通过MAX490发送数据0x11,再用MAX490接收回来并在P0口显示
注:A连接Y,B连接Z,J12连接左边两端
485_1.8.tagsrc
D:\kingty\485_1.8\rs485.c
D:\kingty\485_1.8\delay.c
D:\kingty\485_1.8\lcd_595.c
D:\kingty\485_1.8\test1.c
D:\kingty\485_1.8\rs485.h
D:\kingty\485_1.8\delay.h
D:\kingty\485_1.8\lcd_595.h
D:\king