Searched refs:coil_state (Results 1 – 3 of 3) sorted by relevance
112 bool coil_state; in mbs_fc01_coil_read() local161 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() local552 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() local778 coil_state = true; in mbs_fc15_coils_write()780 coil_state = false; in mbs_fc15_coils_write()[all …]
424 const bool coil_state) in modbus_write_coil() argument436 if (coil_state == false) { in modbus_write_coil()
192 const bool coil_state);