Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/modbus/
Dmodbus_server.c112 bool coil_state; in mbs_fc01_coil_read() local
161 err = ctx->mbs_user_cb->coil_rd(coil_addr, &coil_state); in mbs_fc01_coil_read()
168 if (coil_state) { in mbs_fc01_coil_read()
534 bool coil_state; in mbs_fc05_coil_write() local
552 coil_state = false; in mbs_fc05_coil_write()
554 coil_state = true; in mbs_fc05_coil_write()
557 err = ctx->mbs_user_cb->coil_wr(coil_addr, coil_state); in mbs_fc05_coil_write()
736 bool coil_state; in mbs_fc15_coils_write() local
778 coil_state = true; in mbs_fc15_coils_write()
780 coil_state = false; in mbs_fc15_coils_write()
[all …]
Dmodbus_client.c424 const bool coil_state) in modbus_write_coil() argument
436 if (coil_state == false) { in modbus_write_coil()
/Zephyr-Core-3.4.0/include/zephyr/modbus/
Dmodbus.h192 const bool coil_state);