Home
last modified time | relevance | path

Searched refs:eRegStatus (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfuncholding.c82 eMBErrorCode eRegStatus; in eMBFuncWriteHoldingRegister() local
91 eRegStatus = eMBRegHoldingCB( &pucFrame[MB_PDU_FUNC_WRITE_VALUE_OFF], in eMBFuncWriteHoldingRegister()
95 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteHoldingRegister()
97 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncWriteHoldingRegister()
118 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleHoldingRegister() local
136 eRegStatus = in eMBFuncWriteMultipleHoldingRegister()
141 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteMultipleHoldingRegister()
143 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncWriteMultipleHoldingRegister()
178 eMBErrorCode eRegStatus; in eMBFuncReadHoldingRegister() local
207 eRegStatus = eMBRegHoldingCB( pucFrameCur, usRegAddress, usRegCount, MB_REG_READ ); in eMBFuncReadHoldingRegister()
[all …]
Dmbfunccoils.c78 eMBErrorCode eRegStatus; in eMBFuncReadCoils() local
116 eRegStatus = in eMBFuncReadCoils()
121 if( eRegStatus != MB_ENOERR ) in eMBFuncReadCoils()
123 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncReadCoils()
155 eMBErrorCode eRegStatus; in eMBFuncWriteCoil() local
176 eRegStatus = in eMBFuncWriteCoil()
180 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteCoil()
182 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncWriteCoil()
211 eMBErrorCode eRegStatus; in eMBFuncWriteMultipleCoils() local
238 eRegStatus = in eMBFuncWriteMultipleCoils()
[all …]
Dmbfuncholding_m.c129 eMBErrorCode eRegStatus; in eMBMasterFuncWriteHoldingRegister() local
138 eRegStatus = eMBMasterRegHoldingCB( &pucFrame[MB_PDU_FUNC_WRITE_VALUE_OFF], in eMBMasterFuncWriteHoldingRegister()
142 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteHoldingRegister()
144 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncWriteHoldingRegister()
211 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleHoldingRegister() local
229 eRegStatus = eMBMasterRegHoldingCB( &ucMBFrame[MB_PDU_REQ_WRITE_MUL_VALUES_OFF], in eMBMasterFuncWriteMultipleHoldingRegister()
233 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteMultipleHoldingRegister()
235 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncWriteMultipleHoldingRegister()
296 eMBErrorCode eRegStatus; in eMBMasterFuncReadHoldingRegister() local
319eRegStatus = eMBMasterRegHoldingCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usRegCou… in eMBMasterFuncReadHoldingRegister()
[all …]
Dmbfunccoils_m.c122 eMBErrorCode eRegStatus; in eMBMasterFuncReadCoils() local
157eRegStatus = eMBMasterRegCoilsCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usCoilCoun… in eMBMasterFuncReadCoils()
160 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadCoils()
162 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncReadCoils()
226 eMBErrorCode eRegStatus; in eMBMasterFuncWriteCoil() local
247 eRegStatus = in eMBMasterFuncWriteCoil()
251 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteCoil()
253 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncWriteCoil()
339 eMBErrorCode eRegStatus; in eMBMasterFuncWriteMultipleCoils() local
366 eRegStatus = in eMBMasterFuncWriteMultipleCoils()
[all …]
Dmbfuncinput.c68 eMBErrorCode eRegStatus; in eMBFuncReadInputRegister() local
97 eRegStatus = in eMBFuncReadInputRegister()
101 if( eRegStatus != MB_ENOERR ) in eMBFuncReadInputRegister()
103 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncReadInputRegister()
Dmbfuncdisc.c73 eMBErrorCode eRegStatus; in eMBFuncReadDiscreteInputs() local
111 eRegStatus = in eMBFuncReadDiscreteInputs()
115 if( eRegStatus != MB_ENOERR ) in eMBFuncReadDiscreteInputs()
117 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncReadDiscreteInputs()
Dmbfuncinput_m.c103 eMBErrorCode eRegStatus; in eMBMasterFuncReadInputRegister() local
126eRegStatus = eMBMasterRegInputCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usRegCount… in eMBMasterFuncReadInputRegister()
128 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadInputRegister()
130 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncReadInputRegister()
Dmbfuncdisc_m.c105 eMBErrorCode eRegStatus; in eMBMasterFuncReadDiscreteInputs() local
139eRegStatus = eMBMasterRegDiscreteCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usDiscr… in eMBMasterFuncReadDiscreteInputs()
142 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadDiscreteInputs()
144 eStatus = prveMBError2Exception( eRegStatus ); in eMBMasterFuncReadDiscreteInputs()