Searched refs:ucFunctionCode (Results 1 – 5 of 5) sorted by relevance
227 eMBRegisterCB( UCHAR ucFunctionCode, pxMBFunctionHandler pxHandler ) in eMBRegisterCB() argument232 if( ( 0 < ucFunctionCode ) && ( ucFunctionCode <= MB_FUNC_CODE_MAX ) ) in eMBRegisterCB()242 xFuncHandlers[i].ucFunctionCode = ucFunctionCode; in eMBRegisterCB()253 if( xFuncHandlers[i].ucFunctionCode == ucFunctionCode ) in eMBRegisterCB()255 xFuncHandlers[i].ucFunctionCode = 0; in eMBRegisterCB()337 static UCHAR ucFunctionCode; in eMBPoll() local380 ucFunctionCode = ucMBFrame[MB_PDU_FUNC_OFF]; in eMBPoll()385 if( xFuncHandlers[i].ucFunctionCode == 0 ) in eMBPoll()389 if( xFuncHandlers[i].ucFunctionCode == ucFunctionCode ) in eMBPoll()404 ucMBFrame[usLength++] = ( UCHAR )( ucFunctionCode | MB_FUNC_ERROR ); in eMBPoll()
308 static UCHAR ucFunctionCode; in eMBMasterPoll() local373 ucFunctionCode = ucMBFrame[MB_PDU_FUNC_OFF]; in eMBMasterPoll()376 if (ucFunctionCode & MB_FUNC_ERROR) in eMBMasterPoll()383 if (xMasterFuncHandlers[i].ucFunctionCode == 0) in eMBMasterPoll()387 if (xMasterFuncHandlers[i].ucFunctionCode == ucFunctionCode) in eMBMasterPoll()
76 UCHAR ucFunctionCode; member
265 eMBErrorCode eMBRegisterCB( UCHAR ucFunctionCode,
215 eMBErrorCode eMBMasterRegisterCB( UCHAR ucFunctionCode,