Structure to represent the configuration of a Modbus connection.
More...
#include <ModbusConfiguration.h>
Structure to represent the configuration of a Modbus connection.
- Parameters
-
uartPort | The UART port number to use for Modbus communication, ranging from UART_NUM_0 to UART_NUM_MAX-1. |
rxdPin | The pin number of the receive data (RXD) line. |
txdPin | The pin number of the transmit data (TXD) line. |
rtsPin | The pin number of the request-to-send (RTS) line. |
baudRate | The baud rate to use for the UART communication. |
modbusMode | The Mode of the Modbus -> RTU or ASCII |
◆ baudRate
uint32_t dynamic_modbus_master::ModbusConfig::baudRate |
◆ modbusMode
mb_mode_type_t dynamic_modbus_master::ModbusConfig::modbusMode |
◆ rtsPin
uint8_t dynamic_modbus_master::ModbusConfig::rtsPin |
◆ rxdPin
uint8_t dynamic_modbus_master::ModbusConfig::rxdPin |
◆ txdPin
uint8_t dynamic_modbus_master::ModbusConfig::txdPin |
◆ uartPort
uart_port_t dynamic_modbus_master::ModbusConfig::uartPort |
The documentation for this struct was generated from the following file: