Agile Modbus
1.1.4
Lightweight modbus protocol stack.
|
slave function structure More...
#include <agile_modbus_slave_util.h>
Data Fields | |
const agile_modbus_slave_util_map_t * | tab_bits |
Coil register definition array. More... | |
int | nb_bits |
The number of coil register definition arrays. More... | |
const agile_modbus_slave_util_map_t * | tab_input_bits |
Discrete input register definition array. More... | |
int | nb_input_bits |
The number of discrete input register definition arrays. More... | |
const agile_modbus_slave_util_map_t * | tab_registers |
Holding register definition array. More... | |
int | nb_registers |
Number of holding register definition arrays. More... | |
const agile_modbus_slave_util_map_t * | tab_input_registers |
Input register definition array. More... | |
int | nb_input_registers |
Input register definition array number. More... | |
int(* | addr_check )(agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info) |
Address checking interface. More... | |
int(* | special_function )(agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info) |
Special function code processing interface. More... | |
int(* | done )(agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, int ret) |
Processing end interface. More... | |
slave function structure
Definition at line 48 of file agile_modbus_slave_util.h.
const agile_modbus_slave_util_map_t* agile_modbus_slave_util::tab_bits |
Coil register definition array.
Definition at line 49 of file agile_modbus_slave_util.h.
int agile_modbus_slave_util::nb_bits |
The number of coil register definition arrays.
Definition at line 50 of file agile_modbus_slave_util.h.
const agile_modbus_slave_util_map_t* agile_modbus_slave_util::tab_input_bits |
Discrete input register definition array.
Definition at line 51 of file agile_modbus_slave_util.h.
int agile_modbus_slave_util::nb_input_bits |
The number of discrete input register definition arrays.
Definition at line 52 of file agile_modbus_slave_util.h.
const agile_modbus_slave_util_map_t* agile_modbus_slave_util::tab_registers |
Holding register definition array.
Definition at line 53 of file agile_modbus_slave_util.h.
int agile_modbus_slave_util::nb_registers |
Number of holding register definition arrays.
Definition at line 54 of file agile_modbus_slave_util.h.
const agile_modbus_slave_util_map_t* agile_modbus_slave_util::tab_input_registers |
Input register definition array.
Definition at line 55 of file agile_modbus_slave_util.h.
int agile_modbus_slave_util::nb_input_registers |
Input register definition array number.
Definition at line 56 of file agile_modbus_slave_util.h.
int(* agile_modbus_slave_util::addr_check) (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info) |
Address checking interface.
Definition at line 57 of file agile_modbus_slave_util.h.
int(* agile_modbus_slave_util::special_function) (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info) |
Special function code processing interface.
Definition at line 58 of file agile_modbus_slave_util.h.
int(* agile_modbus_slave_util::done) (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, int ret) |
Processing end interface.
Definition at line 59 of file agile_modbus_slave_util.h.