/hal_espressif-3.6.0/components/freemodbus/modbus/include/ |
D | mb.h | 123 } eMBErrorCode; typedef 151 eMBErrorCode eMBInit( eMBMode eMode, UCHAR ucSlaveAddress, 168 eMBErrorCode eMBTCPInit( USHORT usTCPPort ); 184 eMBErrorCode eMBClose( void ); 196 eMBErrorCode eMBEnable( void ); 207 eMBErrorCode eMBDisable( void ); 221 eMBErrorCode eMBPoll( void ); 241 eMBErrorCode eMBSetSlaveID( UCHAR ucSlaveID, BOOL xIsRunning, 265 eMBErrorCode eMBRegisterCB( UCHAR ucFunctionCode, 312 eMBErrorCode eMBRegInputCB( UCHAR * pucRegBuffer, USHORT usAddress, [all …]
|
D | mb_m.h | 123 eMBErrorCode eMBMasterSerialInit( eMBMode eMode, UCHAR ucPort, 140 eMBErrorCode eMBMasterTCPInit( USHORT usTCPPort ); 156 eMBErrorCode eMBMasterClose( void ); 168 eMBErrorCode eMBMasterEnable( void ); 179 eMBErrorCode eMBMasterDisable( void ); 193 eMBErrorCode eMBMasterPoll( void ); 215 eMBErrorCode eMBMasterRegisterCB( UCHAR ucFunctionCode, 256 eMBErrorCode eMBMasterRegInputCB( UCHAR * pucRegBuffer, USHORT usAddress, 285 eMBErrorCode eMBMasterRegHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, 314 eMBErrorCode eMBMasterRegCoilsCB( UCHAR * pucRegBuffer, USHORT usAddress, [all …]
|
D | mbframe.h | 90 typedef eMBErrorCode( *peMBFrameReceive ) ( UCHAR * pucRcvAddress, 94 typedef eMBErrorCode( *peMBFrameSend ) ( UCHAR slaveAddress,
|
/hal_espressif-3.6.0/components/freemodbus/modbus/ |
D | mb.c | 130 eMBErrorCode 133 eMBErrorCode eStatus = MB_ENOERR; in eMBInit() 197 eMBErrorCode 200 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPInit() 226 eMBErrorCode 230 eMBErrorCode eStatus; in eMBRegisterCB() 273 eMBErrorCode 276 eMBErrorCode eStatus = MB_ENOERR; in eMBClose() 292 eMBErrorCode 295 eMBErrorCode eStatus = MB_ENOERR; in eMBEnable() [all …]
|
D | mb_m.c | 149 eMBErrorCode 152 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPInit() 183 eMBErrorCode 186 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterSerialInit() 242 eMBErrorCode 245 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterClose() 261 eMBErrorCode 264 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterEnable() 281 eMBErrorCode 284 eMBErrorCode eStatus; in eMBMasterDisable() [all …]
|
/hal_espressif-3.6.0/components/freemodbus/modbus/ascii/ |
D | mbascii.h | 46 eMBErrorCode eMBASCIIInit( UCHAR slaveAddress, UCHAR ucPort, 51 eMBErrorCode eMBASCIIReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, 53 eMBErrorCode eMBASCIISend( UCHAR slaveAddress, const UCHAR * pucFrame, 61 eMBErrorCode eMBMasterASCIIInit( UCHAR ucPort, 66 eMBErrorCode eMBMasterASCIIReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, 68 eMBErrorCode eMBMasterASCIISend( UCHAR slaveAddress, const UCHAR * pucFrame,
|
D | mbascii.c | 99 eMBErrorCode 102 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIIInit() 143 eMBErrorCode 146 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIIReceive() 176 eMBErrorCode 179 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIISend()
|
D | mbascii_m.c | 107 eMBErrorCode 110 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIIInit() 148 eMBErrorCode 151 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIIReceive() 181 eMBErrorCode 184 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIISend()
|
/hal_espressif-3.6.0/components/freemodbus/modbus/rtu/ |
D | mbrtu.h | 43 eMBErrorCode eMBRTUInit( UCHAR slaveAddress, UCHAR ucPort, ULONG ulBaudRate, 47 eMBErrorCode eMBRTUReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, USHORT * pusLength ); 48 eMBErrorCode eMBRTUSend( UCHAR slaveAddress, const UCHAR * pucFrame, USHORT usLength ); 56 eMBErrorCode eMBMasterRTUInit( UCHAR ucPort, ULONG ulBaudRate,eMBParity eParity ); 59 eMBErrorCode eMBMasterRTUReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, USHORT * pusLength ); 60 eMBErrorCode eMBMasterRTUSend( UCHAR slaveAddress, const UCHAR * pucFrame, USHORT usLength );
|
D | mbrtu.c | 77 eMBErrorCode 80 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUInit() 147 eMBErrorCode 150 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUReceive() 181 eMBErrorCode 184 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUSend()
|
D | mbrtu_m.c | 84 eMBErrorCode 87 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUInit() 153 eMBErrorCode 156 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUReceive() 187 eMBErrorCode 190 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUSend()
|
/hal_espressif-3.6.0/components/freemodbus/modbus/tcp/ |
D | mbtcp_m.c | 74 eMBErrorCode 77 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPDoInit() 100 eMBErrorCode 103 eMBErrorCode eStatus = MB_EIO; in eMBMasterTCPReceive() 132 eMBErrorCode 135 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPSend()
|
D | mbtcp.c | 74 eMBErrorCode 77 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPDoInit() 101 eMBErrorCode 104 eMBErrorCode eStatus = MB_EIO; in eMBTCPReceive() 133 eMBErrorCode 136 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPSend()
|
D | mbtcp.h | 43 eMBErrorCode eMBTCPDoInit( USHORT ucTCPPort ); 46 eMBErrorCode eMBTCPReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, 48 eMBErrorCode eMBTCPSend( UCHAR _unused, const UCHAR * pucFrame,
|
D | mbtcp_m.h | 43 eMBErrorCode eMBMasterTCPDoInit( USHORT ucTCPPort ); 46 eMBErrorCode eMBMasterTCPReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame, 48 eMBErrorCode eMBMasterTCPSend( UCHAR _unused, const UCHAR * pucFrame,
|
/hal_espressif-3.6.0/components/freemodbus/common/ |
D | esp_modbus_slave.c | 159 …eMBErrorCode status = eMBSetSlaveID(MB_SLAVE_ID_SHORT, TRUE, (UCHAR*)mb_slave_id, sizeof(mb_slave_… in mbc_slave_start() 292 eMBErrorCode mbc_reg_input_slave_cb(UCHAR * reg_buffer, USHORT address, USHORT n_regs) in mbc_reg_input_slave_cb() 298 eMBErrorCode status = MB_ENOERR; in mbc_reg_input_slave_cb() 329 eMBErrorCode mbc_reg_holding_slave_cb(UCHAR * reg_buffer, USHORT address, USHORT n_regs, eMBRegiste… in mbc_reg_holding_slave_cb() 335 eMBErrorCode status = MB_ENOERR; in mbc_reg_holding_slave_cb() 381 eMBErrorCode mbc_reg_coils_slave_cb(UCHAR* reg_buffer, USHORT address, USHORT n_coils, eMBRegisterM… in mbc_reg_coils_slave_cb() 387 eMBErrorCode status = MB_ENOERR; in mbc_reg_coils_slave_cb() 432 eMBErrorCode mbc_reg_discrete_slave_cb(UCHAR* reg_buffer, USHORT address, USHORT n_discrete) in mbc_reg_discrete_slave_cb() 439 eMBErrorCode status = MB_ENOERR; in mbc_reg_discrete_slave_cb() 477 eMBErrorCode eMBRegDiscreteCB(UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNDiscrete) in eMBRegDiscreteCB() [all …]
|
D | esp_modbus_master.c | 190 eMBErrorCode eMBMasterRegDiscreteCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegDiscreteCB() 193 eMBErrorCode error = MB_ENOERR; in eMBMasterRegDiscreteCB() 204 eMBErrorCode eMBMasterRegCoilsCB(UCHAR* pucRegBuffer, USHORT usAddress, in eMBMasterRegCoilsCB() 207 eMBErrorCode error = MB_ENOERR; in eMBMasterRegCoilsCB() 219 eMBErrorCode eMBMasterRegHoldingCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegHoldingCB() 222 eMBErrorCode error = MB_ENOERR; in eMBMasterRegHoldingCB() 234 eMBErrorCode eMBMasterRegInputCB(UCHAR * pucRegBuffer, USHORT usAddress, in eMBMasterRegInputCB() 237 eMBErrorCode error = MB_ENOERR; in eMBMasterRegInputCB()
|
D | esp_modbus_callbacks.h | 24 typedef eMBErrorCode (*reg_input_cb)(UCHAR*, USHORT, USHORT); 25 typedef eMBErrorCode (*reg_holding_cb)(UCHAR*, USHORT, USHORT, eMBRegisterMode); 26 typedef eMBErrorCode (*reg_coils_cb)(UCHAR*, USHORT, USHORT, eMBRegisterMode); 27 typedef eMBErrorCode (*reg_discrete_cb)(UCHAR*, USHORT, USHORT);
|
/hal_espressif-3.6.0/components/freemodbus/modbus/functions/ |
D | mbfuncholding.c | 70 eMBException prveMBError2Exception( eMBErrorCode eErrorCode ); 82 eMBErrorCode eRegStatus; in eMBFuncWriteHoldingRegister() 118 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleHoldingRegister() 178 eMBErrorCode eRegStatus; in eMBFuncReadHoldingRegister() 246 eMBErrorCode eRegStatus; in eMBFuncReadWriteMultipleHoldingRegister()
|
D | mbfunccoils.c | 62 eMBException prveMBError2Exception( eMBErrorCode eErrorCode ); 78 eMBErrorCode eRegStatus; in eMBFuncReadCoils() 155 eMBErrorCode eRegStatus; in eMBFuncWriteCoil() 211 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleCoils()
|
D | mbfuncholding_m.c | 83 eMBException prveMBError2Exception( eMBErrorCode eErrorCode ); 129 eMBErrorCode eRegStatus; in eMBMasterFuncWriteHoldingRegister() 211 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleHoldingRegister() 296 eMBErrorCode eRegStatus; in eMBMasterFuncReadHoldingRegister() 404 eMBErrorCode eRegStatus; in eMBMasterFuncReadWriteMultipleHoldingRegister()
|
D | mbfunccoils_m.c | 71 eMBException prveMBError2Exception( eMBErrorCode eErrorCode ); 122 eMBErrorCode eRegStatus; in eMBMasterFuncReadCoils() 226 eMBErrorCode eRegStatus; in eMBMasterFuncWriteCoil() 339 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleCoils()
|
D | mbfuncother.c | 54 eMBErrorCode 58 eMBErrorCode eStatus = MB_ENOERR; in eMBSetSlaveID()
|
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/ |
D | mbc_serial_master.c | 100 eMBErrorCode status = MB_EIO; in mbc_serial_master_start() 129 eMBErrorCode mb_error = MB_ENOERR; in mbc_serial_master_destroy() 469 eMBErrorCode eMBRegInputCBSerialMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegInputCBSerialMaster() 482 eMBErrorCode eStatus = MB_ENOERR; in eMBRegInputCBSerialMaster() 509 eMBErrorCode eMBRegHoldingCBSerialMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegHoldingCBSerialMaster() 520 eMBErrorCode eStatus = MB_ENOERR; in eMBRegHoldingCBSerialMaster() 558 eMBErrorCode eMBRegCoilsCBSerialMaster(UCHAR* pucRegBuffer, USHORT usAddress, in eMBRegCoilsCBSerialMaster() 568 eMBErrorCode eStatus = MB_ENOERR; in eMBRegCoilsCBSerialMaster() 611 eMBErrorCode eMBRegDiscreteCBSerialMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegDiscreteCBSerialMaster() 621 eMBErrorCode eStatus = MB_ENOERR; in eMBRegDiscreteCBSerialMaster()
|
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/ |
D | mbc_tcp_master.c | 149 eMBErrorCode status = MB_EIO; in mbc_tcp_master_start() 200 eMBErrorCode mb_error = MB_ENOERR; in mbc_tcp_master_destroy() 589 eMBErrorCode eMBRegInputCBTcpMaster(UCHAR* pucRegBuffer, USHORT usAddress, USHORT usNRegs) in eMBRegInputCBTcpMaster() 597 eMBErrorCode eStatus = MB_ENOERR; in eMBRegInputCBTcpMaster() 624 eMBErrorCode eMBRegHoldingCBTcpMaster(UCHAR *pucRegBuffer, USHORT usAddress, in eMBRegHoldingCBTcpMaster() 632 eMBErrorCode eStatus = MB_ENOERR; in eMBRegHoldingCBTcpMaster() 674 eMBErrorCode eMBRegCoilsCBTcpMaster(UCHAR *pucRegBuffer, USHORT usAddress, in eMBRegCoilsCBTcpMaster() 682 eMBErrorCode eStatus = MB_ENOERR; in eMBRegCoilsCBTcpMaster() 725 eMBErrorCode eMBRegDiscreteCBTcpMaster(UCHAR * pucRegBuffer, USHORT usAddress, in eMBRegDiscreteCBTcpMaster() 733 eMBErrorCode eStatus = MB_ENOERR; in eMBRegDiscreteCBTcpMaster()
|