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