代码搜索结果
找到约 387 项符合
RS485 的代码
putstr.c
#include "../uart.h"
void UART_putstr (char *s) // wysy砤 砤馽uch s z SRAM na UART
{
#ifdef UART_DE_PORT
// sbi(UART_DE_PORT,UART_DE_BIT); // odblokuj nadajnik RS485
#endif
register u08 c;
test-serial.c
#include
#include
#include
#include
#include "serial.h"
#include "rs485.h"
#define RS485_PIO_DEV "/dev/rs485/0"
static int n_com_port = 2;
int main (int
test spi.plg
礦ision3 Build Log
Project:
G:\BYSJ CODE\TEST RS485\TEST SPI.uv2
Project File Date: 05/22/2008
Output:
dzkzqv11.c
//(***************************
// Version V1.0
// 地砖控制器
// 2004-09-23 mcu:w77e58 ,172800bps at RS485 11.0592MHz
#include
//#include
#include
#define uchar un
dzkzqv10.c
//(***************************
// Version V1.0
// 地砖控制器
// 2004-09-23 mcu:w77e58 ,172800bps at RS485 11.0592MHz
#include
//#include
#include
#define uchar un
putstr_e.c
#include "../uart.h"
#include
void UART_putstr_E(u08 *s) // wysy砤 砤馽uch s z EEPROM na UART
{
#ifdef UART_DE_PORT
// sbi(UART_DE_PORT,UART_DE_BIT); // odblokuj nadajnik RS485
#
putstr_p.c
#include "../uart.h"
void UART_putstr_P(const char *s) // wysy砤 砤馽uch s z FLASH na UART
{
#ifdef UART_DE_PORT
// sbi(UART_DE_PORT,UART_DE_BIT); // odblokuj nadajnik RS485
#endif
register u0
putstr_e.c
#include "../uart.h"
#include
void UART_putstr_E(u08 *s) // wysy砤 砤馽uch s z EEPROM na UART
{
#ifdef UART_DE_PORT
// sbi(UART_DE_PORT,UART_DE_BIT); // odblokuj nadajnik RS485
#
putstr_p.c
#include "../uart.h"
void UART_putstr_P(const char *s) // wysy砤 砤馽uch s z FLASH na UART
{
#ifdef UART_DE_PORT
// sbi(UART_DE_PORT,UART_DE_BIT); // odblokuj nadajnik RS485
#endif
register u0
rs485.c
/********************************************************************************
*
*
*名称:master.c
*功能:RS485主机收发程序
*说明:主机向整个网络发送地址信息,等待接收从机数据包
*程序设计:
*设计时间:
*
*
通信规则:
1:时钟4MHZ/波特率9600bps