Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/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()
333 if (reg_qty == 0 || reg_qty > regs_limit) { in mbs_fc03_hreg_read()
340 num_bytes = (uint8_t)(reg_qty * sizeof(uint16_t)); in mbs_fc03_hreg_read()
348 if (reg_qty == 0 || reg_qty > (regs_limit / 2)) { in mbs_fc03_hreg_read()
355 num_bytes = (uint8_t)(reg_qty * sizeof(float)); in mbs_fc03_hreg_read()
366 while (reg_qty > 0) { in mbs_fc03_hreg_read()
398 reg_qty--; in mbs_fc03_hreg_read()
424 uint16_t reg_qty; in mbs_fc04_inreg_read() local
433 reg_qty = sys_get_be16(&ctx->rx_adu.data[2]); in mbs_fc04_inreg_read()
[all …]