Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/protocols/modbus/serial/mb_slave/main/
Dslave.c119 … reg_area.start_offset = MB_REG_HOLDING_START_AREA0; // Offset of register area in Modbus protocol in app_main()
125 … reg_area.start_offset = MB_REG_HOLDING_START_AREA1; // Offset of register area in Modbus protocol in app_main()
132 reg_area.start_offset = MB_REG_INPUT_START_AREA0; in app_main()
137 reg_area.start_offset = MB_REG_INPUT_START_AREA1; in app_main()
144 reg_area.start_offset = MB_REG_COILS_START; in app_main()
151 reg_area.start_offset = MB_REG_DISCRETE_INPUT_START; in app_main()
/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_slave.c63 if ((addr >= it->start_offset) in mbc_slave_find_reg_descriptor()
66 && ((addr + regs) <= (it->start_offset + reg_size)) in mbc_slave_find_reg_descriptor()
224 … mb_descr_entry_t* it = mbc_slave_find_reg_descriptor(descr_data.type, descr_data.start_offset, 1); in mbc_slave_set_descriptor()
230 new_descr->start_offset = descr_data.start_offset; in mbc_slave_set_descriptor()
302 uint16_t input_reg_start = (uint16_t)it->start_offset; // Get Modbus start address in mbc_reg_input_slave_cb()
340 uint16_t reg_holding_start = (uint16_t)it->start_offset; // Get Modbus start address in mbc_reg_holding_slave_cb()
393 uint16_t reg_coils_start = (uint16_t)it->start_offset; // MB offset of coils in mbc_reg_coils_slave_cb()
395 reg_index = (uint16_t) (address - it->start_offset); in mbc_reg_coils_slave_cb()
448 uint16_t reg_discrete_start = (uint16_t)it->start_offset; // MB offset of registers in mbc_reg_discrete_slave_cb()
Dmbc_slave.h49 uint16_t start_offset; /*!< Modbus start address for area descriptor */ member
/hal_espressif-3.6.0/examples/protocols/modbus/tcp/mb_tcp_slave/main/
Dtcp_slave.c329 … reg_area.start_offset = MB_REG_HOLDING_START_AREA0; // Offset of register area in Modbus protocol in slave_init()
339 … reg_area.start_offset = MB_REG_HOLDING_START_AREA1; // Offset of register area in Modbus protocol in slave_init()
350 reg_area.start_offset = MB_REG_INPUT_START_AREA0; in slave_init()
359 reg_area.start_offset = MB_REG_INPUT_START_AREA1; in slave_init()
370 reg_area.start_offset = MB_REG_COILS_START; in slave_init()
381 reg_area.start_offset = MB_REG_DISCRETE_INPUT_START; in slave_init()
/hal_espressif-3.6.0/components/freemodbus/common/include/
Desp_modbus_slave.h52 uint16_t start_offset; /*!< Modbus start address for area descriptor */ member
/hal_espressif-3.6.0/docs/en/api-reference/protocols/
Dmodbus.rst410 … define several area descriptors per each type of Modbus register area with different start_offset.
420 * - ``start_offset``
421 …e: register address = 40002 ( 4x register area - Function 3 - holding register ), start_offset = 2
445 …reg_area.start_offset = MB_REG_HOLDING_START_AREA0; // Offset of register area in Modb…
451 reg_area.start_offset = MB_REG_INPUT_START_AREA0;
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h431 UINT16 start_offset; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_cl.c358 offset += p_clcb->start_offset; in gatt_send_prepare_write()
Dgatt_api.c1028 p_clcb->start_offset = p_write->offset; in GATTC_Write()