Lines Matching refs:eErrStatus
104 eMBMasterReqErrCode eErrStatus = MB_MRE_NO_ERR; in eMBMasterReqWriteHoldingRegister() local
106 if ( ucSndAddr > MB_MASTER_TOTAL_SLAVE_NUM ) eErrStatus = MB_MRE_ILL_ARG; in eMBMasterReqWriteHoldingRegister()
107 else if ( xMBMasterRunResTake( lTimeOut ) == FALSE ) eErrStatus = MB_MRE_MASTER_BUSY; in eMBMasterReqWriteHoldingRegister()
119 eErrStatus = eMBMasterWaitRequestFinish( ); in eMBMasterReqWriteHoldingRegister()
121 return eErrStatus; in eMBMasterReqWriteHoldingRegister()
175 eMBMasterReqErrCode eErrStatus = MB_MRE_NO_ERR; in eMBMasterReqWriteMultipleHoldingRegister() local
177 if ( ucSndAddr > MB_MASTER_TOTAL_SLAVE_NUM ) eErrStatus = MB_MRE_ILL_ARG; in eMBMasterReqWriteMultipleHoldingRegister()
178 else if ( xMBMasterRunResTake( lTimeOut ) == FALSE ) eErrStatus = MB_MRE_MASTER_BUSY; in eMBMasterReqWriteMultipleHoldingRegister()
197 eErrStatus = eMBMasterWaitRequestFinish( ); in eMBMasterReqWriteMultipleHoldingRegister()
199 return eErrStatus; in eMBMasterReqWriteMultipleHoldingRegister()
268 eMBMasterReqErrCode eErrStatus = MB_MRE_NO_ERR; in eMBMasterReqReadHoldingRegister() local
270 if ( ucSndAddr > MB_MASTER_TOTAL_SLAVE_NUM ) eErrStatus = MB_MRE_ILL_ARG; in eMBMasterReqReadHoldingRegister()
271 else if ( xMBMasterRunResTake( lTimeOut ) == FALSE ) eErrStatus = MB_MRE_MASTER_BUSY; in eMBMasterReqReadHoldingRegister()
283 eErrStatus = eMBMasterWaitRequestFinish( ); in eMBMasterReqReadHoldingRegister()
285 return eErrStatus; in eMBMasterReqReadHoldingRegister()
363 eMBMasterReqErrCode eErrStatus = MB_MRE_NO_ERR; in eMBMasterReqReadWriteMultipleHoldingRegister() local
365 if ( ucSndAddr > MB_MASTER_TOTAL_SLAVE_NUM ) eErrStatus = MB_MRE_ILL_ARG; in eMBMasterReqReadWriteMultipleHoldingRegister()
366 else if ( xMBMasterRunResTake( lTimeOut ) == FALSE ) eErrStatus = MB_MRE_MASTER_BUSY; in eMBMasterReqReadWriteMultipleHoldingRegister()
389 eErrStatus = eMBMasterWaitRequestFinish( ); in eMBMasterReqReadWriteMultipleHoldingRegister()
391 return eErrStatus; in eMBMasterReqReadWriteMultipleHoldingRegister()