Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_master.c190 eMBErrorCode eMBMasterRegDiscreteCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegDiscreteCB() argument
200 error = master_interface_ptr->master_reg_cb_discrete(pucRegBuffer, usAddress, usNDiscrete); in eMBMasterRegDiscreteCB()
204 eMBErrorCode eMBMasterRegCoilsCB(UCHAR* pucRegBuffer, USHORT usAddress, in eMBMasterRegCoilsCB() argument
214 error = master_interface_ptr->master_reg_cb_coils(pucRegBuffer, usAddress, in eMBMasterRegCoilsCB()
219 eMBErrorCode eMBMasterRegHoldingCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegHoldingCB() argument
229 error = master_interface_ptr->master_reg_cb_holding(pucRegBuffer, usAddress, in eMBMasterRegHoldingCB()
234 eMBErrorCode eMBMasterRegInputCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegInputCB() argument
244 error = master_interface_ptr->master_reg_cb_input(pucRegBuffer, usAddress, usNRegs); in eMBMasterRegInputCB()
Desp_modbus_slave.c477 eMBErrorCode eMBRegDiscreteCB(UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNDiscrete) in eMBRegDiscreteCB() argument
485 error = slave_interface_ptr->slave_reg_cb_discrete(pucRegBuffer, usAddress, usNDiscrete); in eMBRegDiscreteCB()
487 error = mbc_reg_discrete_slave_cb(pucRegBuffer, usAddress, usNDiscrete); in eMBRegDiscreteCB()
493 eMBErrorCode eMBRegCoilsCB(UCHAR* pucRegBuffer, USHORT usAddress, in eMBRegCoilsCB() argument
502 error = slave_interface_ptr->slave_reg_cb_coils(pucRegBuffer, usAddress, usNCoils, eMode); in eMBRegCoilsCB()
504 error = mbc_reg_coils_slave_cb(pucRegBuffer, usAddress, usNCoils, eMode); in eMBRegCoilsCB()
509 eMBErrorCode eMBRegHoldingCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegHoldingCB() argument
518 error = slave_interface_ptr->slave_reg_cb_holding(pucRegBuffer, usAddress, usNRegs, eMode); in eMBRegHoldingCB()
520 error = mbc_reg_holding_slave_cb(pucRegBuffer, usAddress, usNRegs, eMode); in eMBRegHoldingCB()
525 eMBErrorCode eMBRegInputCB(UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs) in eMBRegInputCB() argument
[all …]
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c469 eMBErrorCode eMBRegInputCBSerialMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegInputCBSerialMaster() argument
475 MB_MASTER_CHECK((pucRegBuffer != NULL), MB_EINVAL, in eMBRegInputCBSerialMaster()
488 _XFER_2_RD(pucInputBuffer, pucRegBuffer); in eMBRegInputCBSerialMaster()
509 eMBErrorCode eMBRegHoldingCBSerialMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegHoldingCBSerialMaster() argument
515 MB_MASTER_CHECK((pucRegBuffer != NULL), MB_EINVAL, in eMBRegHoldingCBSerialMaster()
529 _XFER_2_RD(pucRegBuffer, pucHoldingBuffer); in eMBRegHoldingCBSerialMaster()
535 _XFER_2_WR(pucHoldingBuffer, pucRegBuffer); in eMBRegHoldingCBSerialMaster()
558 eMBErrorCode eMBRegCoilsCBSerialMaster(UCHAR* pucRegBuffer, USHORT usAddress, in eMBRegCoilsCBSerialMaster() argument
563 MB_MASTER_CHECK((pucRegBuffer != NULL), in eMBRegCoilsCBSerialMaster()
580 xMBUtilSetBits(pucRegBuffer, iRegIndex - (usAddress % 8) , 1, ucResult); in eMBRegCoilsCBSerialMaster()
[all …]
/hal_espressif-3.6.0/components/freemodbus/modbus/include/
Dmb.h312 eMBErrorCode eMBRegInputCB( UCHAR * pucRegBuffer, USHORT usAddress,
347 eMBErrorCode eMBRegHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress,
382 eMBErrorCode eMBRegCoilsCB( UCHAR * pucRegBuffer, USHORT usAddress,
411 eMBErrorCode eMBRegDiscreteCB( UCHAR * pucRegBuffer, USHORT usAddress,
Dmb_m.h256 eMBErrorCode eMBMasterRegInputCB( UCHAR * pucRegBuffer, USHORT usAddress,
285 eMBErrorCode eMBMasterRegHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress,
314 eMBErrorCode eMBMasterRegCoilsCB( UCHAR * pucRegBuffer, USHORT usAddress,
337 eMBErrorCode eMBMasterRegDiscreteCB( UCHAR * pucRegBuffer, USHORT usAddress,
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c589 eMBErrorCode eMBRegInputCBTcpMaster(UCHAR* pucRegBuffer, USHORT usAddress, USHORT usNRegs) in eMBRegInputCBTcpMaster() argument
593 MB_MASTER_ASSERT(pucRegBuffer != NULL); in eMBRegInputCBTcpMaster()
603 _XFER_2_RD(pucInputBuffer, pucRegBuffer); in eMBRegInputCBTcpMaster()
624 eMBErrorCode eMBRegHoldingCBTcpMaster(UCHAR *pucRegBuffer, USHORT usAddress, in eMBRegHoldingCBTcpMaster() argument
629 MB_MASTER_ASSERT(pucRegBuffer != NULL); in eMBRegHoldingCBTcpMaster()
642 _XFER_2_RD(pucRegBuffer, pucHoldingBuffer); in eMBRegHoldingCBTcpMaster()
649 _XFER_2_WR(pucHoldingBuffer, pucRegBuffer); in eMBRegHoldingCBTcpMaster()
674 eMBErrorCode eMBRegCoilsCBTcpMaster(UCHAR *pucRegBuffer, USHORT usAddress, in eMBRegCoilsCBTcpMaster() argument
679 MB_MASTER_ASSERT(NULL != pucRegBuffer); in eMBRegCoilsCBTcpMaster()
694 xMBUtilSetBits(pucRegBuffer, iRegIndex - (usAddress % 8) , 1, ucResult); in eMBRegCoilsCBTcpMaster()
[all …]