Home
last modified time | relevance | path

Searched defs:modbus_user_callbacks (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/modbus/
Dmodbus.h334 struct modbus_user_callbacks { struct
336 int (*coil_rd)(uint16_t addr, bool *state);
339 int (*coil_wr)(uint16_t addr, bool state);
342 int (*discrete_input_rd)(uint16_t addr, bool *state);
345 int (*input_reg_rd)(uint16_t addr, uint16_t *reg);
348 int (*input_reg_rd_fp)(uint16_t addr, float *reg);
351 int (*holding_reg_rd)(uint16_t addr, uint16_t *reg);
354 int (*holding_reg_wr)(uint16_t addr, uint16_t reg);
357 int (*holding_reg_rd_fp)(uint16_t addr, float *reg);
360 int (*holding_reg_wr_fp)(uint16_t addr, float reg);