Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
modbus_serial_param Struct Reference

Modbus serial line parameter. More...

#include <modbus.h>

Data Fields

uint32_t baud
 Baudrate of the serial line.
 
enum uart_config_parity parity
 parity UART's parity setting: UART_CFG_PARITY_NONE, UART_CFG_PARITY_EVEN, UART_CFG_PARITY_ODD
 
enum uart_config_stop_bits stop_bits_client
 stop_bits_client UART's stop bits setting if in client mode: UART_CFG_STOP_BITS_0_5, UART_CFG_STOP_BITS_1, UART_CFG_STOP_BITS_1_5, UART_CFG_STOP_BITS_2,
 

Detailed Description

Modbus serial line parameter.

Field Documentation

◆ baud

uint32_t modbus_serial_param::baud

Baudrate of the serial line.

◆ parity

enum uart_config_parity modbus_serial_param::parity

parity UART's parity setting: UART_CFG_PARITY_NONE, UART_CFG_PARITY_EVEN, UART_CFG_PARITY_ODD

◆ stop_bits_client

enum uart_config_stop_bits modbus_serial_param::stop_bits_client

stop_bits_client UART's stop bits setting if in client mode: UART_CFG_STOP_BITS_0_5, UART_CFG_STOP_BITS_1, UART_CFG_STOP_BITS_1_5, UART_CFG_STOP_BITS_2,


The documentation for this struct was generated from the following file: