Agile Modbus
1.1.4
Lightweight modbus protocol stack.
|
Agile Modbus software package provides simple slave access source files. More...
Go to the source code of this file.
Functions | |
static const agile_modbus_slave_util_map_t * | get_map_by_addr (const agile_modbus_slave_util_map_t *maps, int nb_maps, int address) |
Get the mapping object from the mapping object array according to the register address. More... | |
static int | read_registers (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, const agile_modbus_slave_util_t *slave_util) |
read register More... | |
static int | write_registers (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, const agile_modbus_slave_util_t *slave_util) |
write register More... | |
static int | mask_write_register (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, const agile_modbus_slave_util_t *slave_util) |
mask write register More... | |
static int | write_read_registers (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, const agile_modbus_slave_util_t *slave_util) |
Write and read registers. More... | |
int | agile_modbus_slave_util_callback (agile_modbus_t *ctx, struct agile_modbus_slave_info *slave_info, const void *data) |
Slave callback function. More... | |
Agile Modbus software package provides simple slave access source files.
Definition in file agile_modbus_slave_util.c.