The caller sleeps until the next transmit interrupt occurs for the designated queue. The sleep occurs on a counting semaphore so that the count accumulates for every transmit interrupt. When configured, transmit interrupts occur for every packet transmitted. A microsecond-resolution timeout value may be specified which is rounded to the nearest system clock tick, or INFINITE to indicate that the caller should block until the operation is complete.
Note: This call must be made if hpeOpen was called with the OUTPUT_INTERRUPT flag set.
HPESTATUS mhpeWaitForTransmitComplete( MPEHANDLE ephandle,
uint32_t timeout_us );
ephandle
timeout_us
A HPESTATUS value indicating the success or failure of the operation.
E_OK
E_EXIST
E_TIME
E_STATE
E_LIMIT
E_TRANSMISSION
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 7.1 | intime/rt/include/mhpeif.h | mhpeif.h | mhpeif.lib |