Returns a value indicating the current state of the transmitter for the designated tx endpoint. This is used to determine whether the transmit buffers may be reset. If the endpoint is currently active then it is not advised to reset the buffers to avoid a race condition between the endpoint and the CPU.
HPESTATUS mhpeGetTransmitterState( MPEHANDLE ephandle,
uint32_t txstate_p );
ephandle
txstate_p
A HPESTATUS value indicating the success or failure of the operation.
E_OK
E_EXIST
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 7.1 | intime/rt/include/mhpeif.h | mhpeif.h | mhpeif.lib |