Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/modbus/
Dmodbus.h359 struct modbus_user_callbacks { struct
361 int (*coil_rd)(uint16_t addr, bool *state);
364 int (*coil_wr)(uint16_t addr, bool state);
367 int (*discrete_input_rd)(uint16_t addr, bool *state);
370 int (*input_reg_rd)(uint16_t addr, uint16_t *reg);
373 int (*input_reg_rd_fp)(uint16_t addr, float *reg);
376 int (*holding_reg_rd)(uint16_t addr, uint16_t *reg);
379 int (*holding_reg_wr)(uint16_t addr, uint16_t reg);
382 int (*holding_reg_rd_fp)(uint16_t addr, float *reg);
385 int (*holding_reg_wr_fp)(uint16_t addr, float reg);