Lines Matching refs:eEvent
314 eMBMasterEventType eEvent; in eMBMasterPoll() local
325 if ( xMBMasterPortEventGet( &eEvent ) == TRUE ) in eMBMasterPoll()
327 while( eEvent ) { in eMBMasterPoll()
330 if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_READY ) ) { in eMBMasterPoll()
332 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_READY ); in eMBMasterPoll()
333 } else if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_FRAME_TRANSMIT ) ) { in eMBMasterPoll()
343 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_FRAME_TRANSMIT ); in eMBMasterPoll()
344 } else if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_FRAME_SENT ) ) { in eMBMasterPoll()
347 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_FRAME_SENT ); in eMBMasterPoll()
348 } else if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_FRAME_RECEIVED ) ) { in eMBMasterPoll()
366 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_FRAME_RECEIVED ); in eMBMasterPoll()
367 } else if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_EXECUTE ) ) { in eMBMasterPoll()
425 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_EXECUTE ); in eMBMasterPoll()
426 } else if ( MB_PORT_CHECK_EVENT( eEvent, EV_MASTER_ERROR_PROCESS ) ) { in eMBMasterPoll()
453 MB_PORT_CLEAR_EVENT( eEvent, EV_MASTER_ERROR_PROCESS ); in eMBMasterPoll()
459 ESP_LOGE( MB_PORT_TAG, "%s: Unexpected event triggered 0x%02x.", __func__, eEvent ); in eMBMasterPoll()