11
This commit is contained in:
commit
53c85e94af
393 files changed
+141844
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* rtuMaster.h
|
||||
*
|
||||
* Created on: Mar 26, 2026
|
||||
* Author: 18896
|
||||
*/
|
||||
|
||||
#ifndef RTUMASTER_H_
|
||||
#define RTUMASTER_H_
|
||||
|
||||
typedef struct {
|
||||
_Bool rxdone;
|
||||
uint16_t rxsize, txsize;
|
||||
uint16_t timeout;
|
||||
uint8_t rxbuf[255];
|
||||
uint8_t txbuf[255];
|
||||
uint16_t localSlaveId;
|
||||
uint16_t localStartIdx;
|
||||
} RtuMaster;
|
||||
|
||||
void RTU_Master_Loop(RtuMaster *master, rtumST myRtumST[20]);
|
||||
|
||||
#endif /* RTUMASTER_H_ */
|
||||
Reference in new issue
Block a user