Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/modbus/
Dmodbus_server.c114 uint16_t coil_addr; in mbs_fc01_coil_read() local
130 coil_addr = sys_get_be16(&ctx->rx_adu.data[0]); in mbs_fc01_coil_read()
161 err = ctx->mbs_user_cb->coil_rd(coil_addr, &coil_state); in mbs_fc01_coil_read()
172 coil_addr++; in mbs_fc01_coil_read()
535 uint16_t coil_addr; in mbs_fc05_coil_write() local
550 coil_addr = sys_get_be16(&ctx->rx_adu.data[0]); in mbs_fc05_coil_write()
560 err = ctx->mbs_user_cb->coil_wr(coil_addr, coil_state); in mbs_fc05_coil_write()
570 sys_put_be16(coil_addr, &ctx->tx_adu.data[0]); in mbs_fc05_coil_write()
734 uint16_t coil_addr; in mbs_fc15_coils_write() local
751 coil_addr = sys_get_be16(&ctx->rx_adu.data[0]); in mbs_fc15_coils_write()
[all …]
Dmodbus_client.c424 const uint16_t coil_addr, in modbus_write_coil() argument
444 sys_put_be16(coil_addr, &ctx->tx_adu.data[0]); in modbus_write_coil()
/Zephyr-latest/include/zephyr/modbus/
Dmodbus.h216 const uint16_t coil_addr,