Searched refs:eRegStatus (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-3.6.0/components/freemodbus/modbus/functions/ |
D | mbfuncholding.c | 82 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 …]
|
D | mbfunccoils.c | 78 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 …]
|
D | mbfuncholding_m.c | 129 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 319 …eRegStatus = eMBMasterRegHoldingCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usRegCou… in eMBMasterFuncReadHoldingRegister() [all …]
|
D | mbfunccoils_m.c | 122 eMBErrorCode eRegStatus; in eMBMasterFuncReadCoils() local 157 …eRegStatus = 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 …]
|
D | mbfuncinput.c | 68 eMBErrorCode eRegStatus; in eMBFuncReadInputRegister() local 97 eRegStatus = in eMBFuncReadInputRegister() 101 if( eRegStatus != MB_ENOERR ) in eMBFuncReadInputRegister() 103 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncReadInputRegister()
|
D | mbfuncdisc.c | 73 eMBErrorCode eRegStatus; in eMBFuncReadDiscreteInputs() local 111 eRegStatus = in eMBFuncReadDiscreteInputs() 115 if( eRegStatus != MB_ENOERR ) in eMBFuncReadDiscreteInputs() 117 eStatus = prveMBError2Exception( eRegStatus ); in eMBFuncReadDiscreteInputs()
|
D | mbfuncinput_m.c | 103 eMBErrorCode eRegStatus; in eMBMasterFuncReadInputRegister() local 126 …eRegStatus = 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()
|
D | mbfuncdisc_m.c | 105 eMBErrorCode eRegStatus; in eMBMasterFuncReadDiscreteInputs() local 139 …eRegStatus = 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()
|