Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/freemodbus/modbus/
Dmb_m.c314 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()
[all …]
Dmb.c343 eMBEventType eEvent; in eMBPoll() local
353 if( xMBPortEventGet( &eEvent ) == TRUE ) in eMBPoll()
355 switch ( eEvent ) in eMBPoll()
/hal_espressif-3.4.0/components/freemodbus/port/
Dportevent_m.c86 xMBMasterPortEventPost( eMBMasterEventType eEvent ) in xMBMasterPortEventPost() argument
89 eMBMasterEventType eTempEvent = eEvent; in xMBMasterPortEventPost()
136 xMBMasterPortEventGet( eMBMasterEventType* eEvent ) in xMBMasterPortEventGet() argument
147 *eEvent = (eMBMasterEventType)(uxBits & MB_EVENT_POLL_MASK); in xMBMasterPortEventGet()
149 xEventGroupSetBits( xEventGroupMasterConfirmHdl, *eEvent ); in xMBMasterPortEventGet()
153 *eEvent = (eMBMasterEventType)uxBits; in xMBMasterPortEventGet()
Dportevent.c86 xMBPortEventPost( eMBEventType eEvent ) in xMBPortEventPost() argument
93 xStatus = xQueueSendFromISR(xQueueHdl, (const void*)&eEvent, &xHigherPriorityTaskWoken); in xMBPortEventPost()
105 xStatus = xQueueSend(xQueueHdl, (const void*)&eEvent, MB_EVENT_QUEUE_TIMEOUT); in xMBPortEventPost()
/hal_espressif-3.4.0/components/freemodbus/modbus/include/
Dmbport.h106 BOOL xMBPortEventPost( eMBEventType eEvent );
108 BOOL xMBPortEventGet( /*@out@ */ eMBEventType * eEvent );
113 BOOL xMBMasterPortEventPost( eMBMasterEventType eEvent );
115 BOOL xMBMasterPortEventGet( /*@out@ */ eMBMasterEventType * eEvent );