Home
last modified time | relevance | path

Searched refs:eMBErrorCode (Results 1 – 25 of 32) sorted by relevance

12

/hal_espressif-3.6.0/components/freemodbus/modbus/include/
Dmb.h123 } 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 …]
Dmb_m.h123 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 …]
Dmbframe.h90 typedef eMBErrorCode( *peMBFrameReceive ) ( UCHAR * pucRcvAddress,
94 typedef eMBErrorCode( *peMBFrameSend ) ( UCHAR slaveAddress,
/hal_espressif-3.6.0/components/freemodbus/modbus/
Dmb.c130 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 …]
Dmb_m.c149 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/
Dmbascii.h46 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,
Dmbascii.c99 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()
Dmbascii_m.c107 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/
Dmbrtu.h43 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 );
Dmbrtu.c77 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()
Dmbrtu_m.c84 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/
Dmbtcp_m.c74 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()
Dmbtcp.c74 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()
Dmbtcp.h43 eMBErrorCode eMBTCPDoInit( USHORT ucTCPPort );
46 eMBErrorCode eMBTCPReceive( UCHAR * pucRcvAddress, UCHAR ** pucFrame,
48 eMBErrorCode eMBTCPSend( UCHAR _unused, const UCHAR * pucFrame,
Dmbtcp_m.h43 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/
Desp_modbus_slave.c159eMBErrorCode 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 …]
Desp_modbus_master.c190 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()
Desp_modbus_callbacks.h24 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/
Dmbfuncholding.c70 eMBException prveMBError2Exception( eMBErrorCode eErrorCode );
82 eMBErrorCode eRegStatus; in eMBFuncWriteHoldingRegister()
118 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleHoldingRegister()
178 eMBErrorCode eRegStatus; in eMBFuncReadHoldingRegister()
246 eMBErrorCode eRegStatus; in eMBFuncReadWriteMultipleHoldingRegister()
Dmbfunccoils.c62 eMBException prveMBError2Exception( eMBErrorCode eErrorCode );
78 eMBErrorCode eRegStatus; in eMBFuncReadCoils()
155 eMBErrorCode eRegStatus; in eMBFuncWriteCoil()
211 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleCoils()
Dmbfuncholding_m.c83 eMBException prveMBError2Exception( eMBErrorCode eErrorCode );
129 eMBErrorCode eRegStatus; in eMBMasterFuncWriteHoldingRegister()
211 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleHoldingRegister()
296 eMBErrorCode eRegStatus; in eMBMasterFuncReadHoldingRegister()
404 eMBErrorCode eRegStatus; in eMBMasterFuncReadWriteMultipleHoldingRegister()
Dmbfunccoils_m.c71 eMBException prveMBError2Exception( eMBErrorCode eErrorCode );
122 eMBErrorCode eRegStatus; in eMBMasterFuncReadCoils()
226 eMBErrorCode eRegStatus; in eMBMasterFuncWriteCoil()
339 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleCoils()
Dmbfuncother.c54 eMBErrorCode
58 eMBErrorCode eStatus = MB_ENOERR; in eMBSetSlaveID()
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c100 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/
Dmbc_tcp_master.c149 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()

12