Lines Matching refs:xRecvedEvent
275 eMBMasterEventType xRecvedEvent; in eMBMasterWaitRequestFinish() local
282 xRecvedEvent = (eMBMasterEventType)(uxBits); in eMBMasterWaitRequestFinish()
283 if (xRecvedEvent) { in eMBMasterWaitRequestFinish()
284 ESP_LOGD(MB_PORT_TAG,"%s: returned event = 0x%x", __func__, xRecvedEvent); in eMBMasterWaitRequestFinish()
285 if (!(xRecvedEvent & MB_EVENT_REQ_MASK)) { in eMBMasterWaitRequestFinish()
287 ESP_LOGE(MB_PORT_TAG,"%s: incorrect event set = 0x%x", __func__, xRecvedEvent); in eMBMasterWaitRequestFinish()
289 xEventGroupSetBits( xEventGroupMasterConfirmHdl, (xRecvedEvent & MB_EVENT_REQ_MASK) ); in eMBMasterWaitRequestFinish()
290 if (MB_PORT_CHECK_EVENT(xRecvedEvent, EV_MASTER_PROCESS_SUCCESS)) { in eMBMasterWaitRequestFinish()
292 } else if (MB_PORT_CHECK_EVENT(xRecvedEvent, EV_MASTER_ERROR_RESPOND_TIMEOUT)) { in eMBMasterWaitRequestFinish()
294 } else if (MB_PORT_CHECK_EVENT(xRecvedEvent, EV_MASTER_ERROR_RECEIVE_DATA)) { in eMBMasterWaitRequestFinish()
296 } else if (MB_PORT_CHECK_EVENT(xRecvedEvent, EV_MASTER_ERROR_EXECUTE_FUNCTION)) { in eMBMasterWaitRequestFinish()