Home
last modified time | relevance | path

Searched refs:mbs_user_cb (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/modbus/
Dmodbus_server.c125 if (ctx->mbs_user_cb->coil_rd == NULL) { in mbs_fc01_coil_read()
161 err = ctx->mbs_user_cb->coil_rd(coil_addr, &coil_state); in mbs_fc01_coil_read()
224 if (ctx->mbs_user_cb->discrete_input_rd == NULL) { in mbs_fc02_di_read()
262 err = ctx->mbs_user_cb->discrete_input_rd(di_addr, &di_state); in mbs_fc02_di_read()
338 if (ctx->mbs_user_cb->holding_reg_rd == NULL) { in mbs_fc03_hreg_read()
345 if (ctx->mbs_user_cb->holding_reg_rd_fp == NULL) { in mbs_fc03_hreg_read()
369 err = ctx->mbs_user_cb->holding_reg_rd(reg_addr, &reg); in mbs_fc03_hreg_read()
383 err = ctx->mbs_user_cb->holding_reg_rd_fp(reg_addr, &fp); in mbs_fc03_hreg_read()
450 if (ctx->mbs_user_cb->input_reg_rd == NULL) { in mbs_fc04_inreg_read()
457 if (ctx->mbs_user_cb->input_reg_rd_fp == NULL) { in mbs_fc04_inreg_read()
[all …]
Dmodbus_core.c280 ctx->mbs_user_cb = param.server.user_cb; in modbus_init_server()
363 ctx->mbs_user_cb = NULL; in modbus_init_client()
403 ctx->mbs_user_cb = NULL; in modbus_disable()
Dmodbus_internal.h108 struct modbus_user_callbacks *mbs_user_cb; member