EVE 1.0
MbFunctionDescriptor_t Struct Reference

Structure for holding a callback serving one of Modbus commands. A pointer of array of these structures must be settled as the FuncHandlers member of the modbus_t structure. More...

#include <modbus.h>

Data Fields

uint8_t FunctionCode
 Modbus command code as per Modbus spec.
 
void * FunctionHandler
 Function to call. Function type must follow the driver plugin specification for the command. F.ex. MbHoldingHandler_t for Holding Register commands.
 

Detailed Description

Structure for holding a callback serving one of Modbus commands. A pointer of array of these structures must be settled as the FuncHandlers member of the modbus_t structure.

Definition at line 388 of file modbus.h.