Lines Matching full:protocol
47 * the basic functions and types required to use the Modbus protocol stack.
50 * the protocol stack. In the main loop the function eMBPoll() must be called
56 * // Initialize protocol stack in RTU mode for a slave with address 10 = 0x0A
58 * // Enable the Modbus Protocol Stack.
62 * // Call the main polling loop of the Modbus protocol stack.
97 * registers should be updated and reading means that the modbus protocol
105 MB_REG_READ, /*!< Read register values and pass to protocol stack. */
110 * \brief Errorcodes used by all function in the protocol stack.
120 MB_EILLSTATE, /*!< protocol stack in illegal state. */
127 * \brief Initialize the Modbus protocol stack.
144 * The protocol is then in the disabled state and ready for activation
155 * \brief Initialize the Modbus protocol stack for Modbus TCP.
161 * \return If the protocol stack has been initialized correctly the function
171 * \brief Release resources used by the protocol stack.
173 * This function disables the Modbus protocol stack and release all
174 * hardware resources. It must only be called when the protocol stack
181 * If the protocol stack is not in the disabled state it returns
187 * \brief Enable the Modbus protocol stack.
189 * This function enables processing of Modbus frames. Enabling the protocol
192 * \return If the protocol stack is now in the state enabled it returns
199 * \brief Disable the Modbus protocol stack.
203 * \return If the protocol stack has been disabled it returns
210 * \brief The main pooling loop of the Modbus protocol stack.
217 * \return If the protocol stack is not in the enabled state the function
252 * sent by the protocol stack.
272 * The protocol stack does not internally allocate any memory for the
273 * registers. This makes the protocol stack very small and also usable on
276 * Whenever the protocol stack requires a value it calls one of the callback
281 * If the protocol stack wants to update a register value because a write
289 * is required by the protocol stack. The starting register address is given
317 * read or written by the protocol stack. The starting register address
322 * buffer points to the new registers values. If the protocol stack needs
352 * read or written by the protocol stack. If you are going to use
387 * read by the protocol stack.