Lines Matching full:modbus
9 * Client API in this file is based on mbm_core.c from uC/Modbus Stack.
11 * uC/Modbus
12 * The Embedded Modbus Stack
24 * @brief MODBUS transport protocol API
25 * @defgroup modbus MODBUS
44 /** @name Modbus exception codes
92 * Sends a Modbus message to read the status of coils from a server.
94 * @param iface Modbus interface index
95 * @param unit_id Modbus unit ID of the server
125 * Sends a Modbus message to read the status of discrete inputs from
128 * @param iface Modbus interface index
129 * @param unit_id Modbus unit ID of the server
159 * Sends a Modbus message to read the value of holding registers
162 * @param iface Modbus interface index
163 * @param unit_id Modbus unit ID of the server
182 * Sends a Modbus message to read the value of input registers from
185 * @param iface Modbus interface index
186 * @param unit_id Modbus unit ID of the server
205 * Sends a Modbus message to write the value of single coil to a server.
207 * @param iface Modbus interface index
208 * @param unit_id Modbus unit ID of the server
222 * Sends a Modbus message to write the value of single holding register
225 * @param iface Modbus interface index
226 * @param unit_id Modbus unit ID of the server
240 * Sends a Modbus message to perform a diagnostic function of a server unit.
242 * @param iface Modbus interface index
243 * @param unit_id Modbus unit ID of the server
259 * Sends a Modbus message to write to coils on a server unit.
261 * @param iface Modbus interface index
262 * @param unit_id Modbus unit ID of the server
292 * Sends a Modbus message to write to integer holding registers
295 * @param iface Modbus interface index
296 * @param unit_id Modbus unit ID of the server
315 * Sends a Modbus message to read the value of floating-point
318 * @param iface Modbus interface index
319 * @param unit_id Modbus unit ID of the server
338 * Sends a Modbus message to write to floating-point holding registers
341 * @param iface Modbus interface index
342 * @param unit_id Modbus unit ID of the server
358 /** Modbus Server User Callback structure */
389 * @brief Get Modbus interface index according to interface name
394 * @param iface_name Modbus interface name
396 * @retval Modbus interface index or negative error value.
403 * @param iface Modbus RTU interface index
415 * Modbus allows user defined function codes which can be used to extend
417 * function codes currently not supported by Zephyr's Modbus subsystem.
420 * signal this by setting excep_code to a modbus exception code.
425 * @param iface Modbus interface index
464 * @brief Modbus interface mode
467 /** Modbus over serial line RTU mode */
469 /** Modbus over serial line ASCII mode */
471 /** Modbus raw ADU mode */
476 * @brief Modbus serial line parameter
497 * @brief Modbus server parameter
502 /** Modbus unit ID of the server */
512 * @brief User parameter structure to configure Modbus interface
534 * @brief Configure Modbus Interface as raw ADU server
536 * @param iface Modbus RTU interface index
544 * @brief Configure Modbus Interface as raw ADU client
546 * @param iface Modbus RTU interface index
554 * @brief Disable Modbus Interface
556 * This function is called to disable Modbus interface.
558 * @param iface Modbus interface index
567 * @param iface Modbus RTU interface index
607 * @param iface Modbus client interface index
617 * The Modbus specification allows users to define standard function codes
618 * missing from Zephyr's Modbus implementation as well as add non-standard
625 * @param iface Modbus client interface index