Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c191 uint16_t mb_offset = request->reg_start; in mbc_serial_master_send_request() local
202 mb_error = eMBMasterReqReadCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
206 mb_error = eMBMasterReqWriteCoil((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
210 mb_error = eMBMasterReqWriteMultipleCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
214 mb_error = eMBMasterReqReadDiscreteInputs((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
218 mb_error = eMBMasterReqReadHoldingRegister((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
222 mb_error = eMBMasterReqWriteHoldingRegister( (UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
228 … (USHORT)mb_offset, (USHORT)mb_size, in mbc_serial_master_send_request()
232 … mb_error = eMBMasterReqReadWriteMultipleHoldingRegister( (UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
234 … (USHORT)mb_offset, (USHORT)mb_size, in mbc_serial_master_send_request()
[all …]
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c273 uint16_t mb_offset = request->reg_start; in mbc_tcp_master_send_request() local
284 mb_error = eMBMasterReqReadCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
288 mb_error = eMBMasterReqWriteCoil((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
292 mb_error = eMBMasterReqWriteMultipleCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
297 mb_error = eMBMasterReqReadDiscreteInputs((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
301 mb_error = eMBMasterReqReadHoldingRegister((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
305 mb_error = eMBMasterReqWriteHoldingRegister((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
311 (USHORT)mb_offset, (USHORT)mb_size, in mbc_tcp_master_send_request()
315 … mb_error = eMBMasterReqReadWriteMultipleHoldingRegister((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
317 (USHORT)mb_offset, (USHORT)mb_size, in mbc_tcp_master_send_request()
[all …]
/hal_espressif-3.6.0/examples/protocols/modbus/serial/mb_slave/main/
Dslave.c186 (uint32_t)reg_info.mb_offset, in app_main()
203 (uint32_t)reg_info.mb_offset, in app_main()
211 (uint32_t)reg_info.mb_offset, in app_main()
220 (uint32_t)reg_info.mb_offset, in app_main()
/hal_espressif-3.6.0/examples/protocols/modbus/tcp/mb_tcp_slave/main/
Dtcp_slave.c180 (uint32_t)reg_info.mb_offset, in slave_operation_func()
197 (uint32_t)reg_info.mb_offset, in slave_operation_func()
205 (uint32_t)reg_info.mb_offset, in slave_operation_func()
214 (uint32_t)reg_info.mb_offset, in slave_operation_func()
/hal_espressif-3.6.0/components/freemodbus/common/include/
Desp_modbus_slave.h42 uint16_t mb_offset; /*!< Modbus register offset */ member
/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_slave.c248 static esp_err_t mbc_slave_send_param_info(mb_event_group_t par_type, uint16_t mb_offset, in mbc_slave_send_param_info() argument
260 par_info.mb_offset = mb_offset; in mbc_slave_send_param_info()
/hal_espressif-3.6.0/docs/en/api-reference/protocols/
Dmodbus.rst546 * - ``mb_offset``
577 (uint32_t)reg_info.mb_offset,
585 (uint32_t)reg_info.mb_offset,