Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
rs485.h
00001 #ifndef RS485 00002 #define RS485 00003 00004 #include "packetformatter.h" 00005 #include "protocol.h" 00006 #include "list.h" 00007 #include "comms.h" 00008 00009 #ifdef __cplusplus 00010 extern "C" { 00011 #endif 00012 00013 void SerialHandler(unsigned char RXByte); 00014 int ChangeState( int ); 00015 00016 00017 00018 //extern char processCommand(int command,unsigned char *receivedData); 00019 00020 void RS485_Init(); 00021 unsigned char RegisterCommand( unsigned char , void (*fx)(unsigned char *) ); 00022 int CheckFunction( Packet *_packet ); 00023 void SetResponsePacket( Packet *); 00024 void setResponseWithData(unsigned char deviceID, unsigned char command, unsigned char * data, unsigned short dataLength); 00025 00026 #ifdef __cplusplus 00027 } 00028 #endif 00029 00030 #endif
Generated on Tue Jul 12 2022 22:58:49 by
1.7.2