/Zephyr-latest/samples/subsys/modbus/rtu_client/src/ |
D | main.c | 41 uint8_t coil[1] = {0}; in main() local 72 err = modbus_read_coils(client_iface, node, 0, coil, coil_qty); in main() 78 LOG_INF("Coils state 0x%02x", coil[0]); in main() 101 err = modbus_read_coils(client_iface, node, 0, coil, coil_qty); in main() 107 LOG_INF("Coils state 0x%02x", coil[0]); in main() 109 coil[0] = 0; in main() 110 err = modbus_write_coils(client_iface, node, 0, coil, coil_qty); in main()
|
/Zephyr-latest/tests/subsys/modbus/src/ |
D | test_modbus_client.c | 28 uint8_t coil[3] = {0}; in test_coil_wr_rd() local 36 err = modbus_read_coils(client_iface, node, 0, coil, coil_qty); in test_coil_wr_rd() 39 zassert_equal(coil[0], 0xff, "FC05 verify coil 0-7 failed"); in test_coil_wr_rd() 40 zassert_equal(coil[1], 0xff, "FC05 verify coil 8-15 failed"); in test_coil_wr_rd() 43 err = modbus_write_coils(client_iface, node, 0, coil, numof); in test_coil_wr_rd() 47 coil[0] = 0xaa; coil[1] = 0xbb; in test_coil_wr_rd() 48 err = modbus_write_coils(client_iface, node, 0, coil, coil_qty); in test_coil_wr_rd() 51 err = modbus_read_coils(client_iface, node, 0, coil, coil_qty); in test_coil_wr_rd() 54 zassert_equal(coil[0], 0xaa, "FC15 verify coil 0-7 failed"); in test_coil_wr_rd() 55 zassert_equal(coil[1], 0xbb, "FC15 verify coil 8-15 failed"); in test_coil_wr_rd() [all …]
|
D | test_modbus_server.c | 37 LOG_DBG("Coil read, addr %u, %d", addr, (int)*state); in coil_rd() 54 LOG_DBG("Coil write, addr %u, %d", addr, (int)state); in coil_wr() 155 /** Coil read/write callback */
|
/Zephyr-latest/include/zephyr/modbus/ |
D | modbus.h | 90 * @brief Coil read (FC01) 96 * @param start_addr Coil starting address 109 * Note that the array that will be receiving the coil 203 * @brief Write single coil (FC05) 205 * Sends a Modbus message to write the value of single coil to a server. 210 * @param coil_state Is the desired state of the coil 276 * Note that the array that will be receiving the coil 360 /** Coil read callback */ 363 /** Coil write callback */
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_server.c | 105 * Coil status N * 1 Byte 158 /* Loop through each coil requested. */ in mbs_fc01_coil_read() 163 LOG_INF("Coil address not supported"); in mbs_fc01_coil_read() 173 /* Increment coil counter. */ in mbs_fc01_coil_read() 518 * FC 05 (0x05) Write Single Coil 549 /* Get the desired coil address and coil value */ in mbs_fc05_coil_write() 553 /* See if coil needs to be OFF? */ in mbs_fc05_coil_write() 563 LOG_INF("Coil address not supported"); in mbs_fc05_coil_write() 771 /* The 1st coil data byte is 6th element in payload */ in mbs_fc15_coils_write() 773 /* Loop through each coil to be forced. */ in mbs_fc15_coils_write() [all …]
|
/Zephyr-latest/samples/subsys/modbus/rtu_server/src/ |
D | main.c | 38 LOG_INF("Coil read, addr %u, %d", addr, (int)*state); in coil_rd() 62 LOG_INF("Coil write, addr %u, %d", addr, (int)state); in coil_wr()
|
/Zephyr-latest/dts/bindings/regulator/ |
D | nordic,npm2100-regulator.yaml | 81 DPS coil pulse limit per refresh cycle.
|
/Zephyr-latest/samples/subsys/modbus/tcp_server/src/ |
D | main.c | 98 LOG_INF("Coil read, addr %u, %d", addr, (int)*state); in coil_rd() 121 LOG_INF("Coil write, addr %u, %d", addr, (int)state); in coil_wr()
|
/Zephyr-latest/dts/bindings/stepper/adi/ |
D | adi,trinamic-ramp-generator.yaml | 86 In combination with StealthChop mode, setting IHOLD=0 allows to choose freewheeling or coil
|
/Zephyr-latest/drivers/stepper/ |
D | gpio_stepper_controller.c | 89 LOG_ERR("Failed to power down coil %d", i); in power_down_coils()
|