![]() |
EVE 1.0
|
Structure for holding a number of protocol specific virtual functions. UART related functions are the part of Modbus driver. Other protocols must be implemented on the application level. It is not necessary to implement MbStart and/or MbStop functions, if there is nothing to do. Thus functions can be settlet to NULL in the structure. However MbSendData/MbReceiveData functions are mandatory. A pointer of array of these structures must be settled as the Virtualfunc member of the modbus_t structure. More...
#include <modbus.h>
Data Fields | |
MbVfuncStart_t | MbStart |
Function to call on the protocol start. | |
MbVfuncStop_t | MbStop |
Function to call on the protocol stop. | |
MbVfuncSend_t | MbSendData |
Function to call in order to send data (see MbVfuncSend_t) | |
MbVfuncReceive_t | MbReceiveData |
Function to call in order to send data (see MbVfuncReceive_t) | |
Structure for holding a number of protocol specific virtual functions. UART related functions are the part of Modbus driver. Other protocols must be implemented on the application level. It is not necessary to implement MbStart and/or MbStop functions, if there is nothing to do. Thus functions can be settlet to NULL in the structure. However MbSendData/MbReceiveData functions are mandatory. A pointer of array of these structures must be settled as the Virtualfunc member of the modbus_t structure.