Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/modbus/
Dmodbus_server.c314 uint16_t reg_qty; in mbs_fc03_hreg_read() local
323 reg_qty = sys_get_be16(&ctx->rx_adu.data[2]); in mbs_fc03_hreg_read()
325 if (reg_qty == 0 || reg_qty > regs_limit) { in mbs_fc03_hreg_read()
327 reg_qty, regs_limit); in mbs_fc03_hreg_read()
333 num_bytes = (uint8_t)(reg_qty * sizeof(uint16_t)); in mbs_fc03_hreg_read()
364 while (reg_qty > 0) { in mbs_fc03_hreg_read()
377 reg_qty--; in mbs_fc03_hreg_read()
392 reg_qty -= 2; in mbs_fc03_hreg_read()
426 uint16_t reg_qty; in mbs_fc04_inreg_read() local
435 reg_qty = sys_get_be16(&ctx->rx_adu.data[2]); in mbs_fc04_inreg_read()
[all …]