Lines Matching refs:reg_quantity
133 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_writeMultipleHoldingRegisters() local
137 if (bufinfo.len < reg_quantity) { in mp_writeMultipleHoldingRegisters()
152 …mbmaster_write_multiple_registers(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, &… in mp_writeMultipleHoldingRegisters()
219 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_writeMultipleCoils() local
232 …atus = mbmaster_write_multiple_coils(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, in mp_writeMultipleCoils()
259 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_readHoldingRegisters() local
272 …us = mbmaster_read_holding_registers(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, in mp_readHoldingRegisters()
297 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_readInputRegisters() local
310 …atus = mbmaster_read_input_registers(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, in mp_readInputRegisters()
335 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_readDiscreteInputs() local
348 …atus = mbmaster_read_discrete_inputs(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, in mp_readDiscreteInputs()
373 uint16_t reg_quantity = mp_obj_get_int(args[2]); in mp_readCoils() local
387 …mbmaster_read_coils(mb_handler, slave_addr, start_addr, reg_quantity, bufinfo.buf, &resp_quantity,… in mp_readCoils()