/* * 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_ */