Searched refs:hr_wr (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/subsys/modbus/src/ |
D | test_modbus_client.c | 106 uint16_t hr_wr[8] = {0, 2, 1, 3, 5, 4, 7, 6}; in test_holding_reg() local 113 for (uint16_t idx = 0; idx < ARRAY_SIZE(hr_wr); idx++) { in test_holding_reg() 114 err = modbus_write_holding_reg(client_iface, node, idx, hr_wr[idx]); in test_holding_reg() 126 zassert_equal(memcmp(hr_wr, hr_rd, sizeof(hr_wr)), 0, in test_holding_reg() 138 hr_wr, ARRAY_SIZE(hr_wr)); in test_holding_reg() 146 zassert_equal(memcmp(hr_wr, hr_rd, sizeof(hr_wr)), 0, in test_holding_reg() 180 hr_wr, ARRAY_SIZE(hr_wr) - 1); in test_holding_reg()
|