Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c312 command = (mode == MB_PARAM_WRITE) ? in mbc_serial_master_get_command()
320 command = (mode == MB_PARAM_WRITE) ? in mbc_serial_master_get_command()
325 if (mode != MB_PARAM_WRITE) { in mbc_serial_master_get_command()
355 MB_MASTER_CHECK((mode <= MB_PARAM_WRITE), in mbc_serial_master_set_request()
435 error = mbc_serial_master_set_request(name, MB_PARAM_WRITE, &request, &reg_info); in mbc_serial_master_set_parameter()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c388 …command = (mode == MB_PARAM_WRITE) ? MB_FUNC_WRITE_MULTIPLE_REGISTERS : MB_FUNC_READ_HOLDING_REGIS… in mbc_tcp_master_get_command()
394 command = (mode == MB_PARAM_WRITE) ? MB_FUNC_WRITE_MULTIPLE_COILS : MB_FUNC_READ_COILS; in mbc_tcp_master_get_command()
397 if (mode != MB_PARAM_WRITE) { in mbc_tcp_master_get_command()
452 MB_MASTER_CHECK((mode <= MB_PARAM_WRITE), ESP_ERR_INVALID_ARG, "mb incorrect mode."); in mbc_tcp_master_set_request()
542 error = mbc_tcp_master_set_request(name, MB_PARAM_WRITE, &request, &reg_info); in mbc_tcp_master_set_parameter()
/hal_espressif-3.6.0/components/freemodbus/common/
Dmbc_master.h38 MB_PARAM_WRITE /*!< Write parameter values. */ enumerator