| 
    Zephyr Project API
    3.4.0
    
   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 | 
| union { | |
| struct modbus_server_param server | |
| uint32_t rx_timeout | |
| }; | |
| union { | |
| struct modbus_serial_param serial | |
| struct modbus_raw_cb rawcb | |
| }; | |
User parameter structure to configure Modbus interface as client or server.
| union { ... } modbus_iface_param::@240 | 
| union { ... } modbus_iface_param::@242 | 
| 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 |