Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/port/
Dportevent_m.c275 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()
[all …]