G-CAMS-DATU/packages/agile_modbus-v1.1.2/examples/slave/slave.h

21 lines
320 B
C
Raw Permalink Normal View History

2024-05-13 08:08:47 +00:00
#ifndef __SLAVE_H
#define __SLAVE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <pthread.h>
#include "agile_modbus.h"
#include "agile_modbus_slave_util.h"
extern pthread_mutex_t slave_mtx;
extern const agile_modbus_slave_util_t slave_util;
#ifdef __cplusplus
}
#endif
#endif /* __SLAVE_H */