Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
User parameter structure to configure Modbus interfase as client or server. More...
#include <modbus.h>
Data Fields | |
enum modbus_mode | mode |
union { | |
struct modbus_server_param server | |
uint32_t rx_timeout | |
}; | |
union { | |
struct modbus_serial_param serial | |
modbus_raw_cb_t raw_tx_cb | |
}; | |
User parameter structure to configure Modbus interfase as client or server.
union { ... } modbus_iface_param::@128 |
union { ... } modbus_iface_param::@130 |
enum modbus_mode modbus_iface_param::mode |
Mode of the interface
modbus_raw_cb_t modbus_iface_param::raw_tx_cb |
Pointer to raw ADU callback function
uint32_t modbus_iface_param::rx_timeout |
Amount of time client will wait for a response from the server.
struct modbus_serial_param modbus_iface_param::serial |
Serial support parameter of the interface
struct modbus_server_param modbus_iface_param::server |