1.25.5.21 1.26.4.21 DBGU_ReadAbort Function
C
/* Non-blocking mode */
bool DBGU_ReadAbort(void)
Summary
Aborts the ongoing read request
Description
This API lets the application abort an ongoing read request. If needed, the application can call the DBGU_ReadCountGet API to know the number of bytes successfully read before issuing the DBGU_ReadAbort API.
Precondition
DBGU_Initialize must have been called for the associated DBGU instance.
Parameters
None
Returns
true - operation is successful
false - error during execution
Example
bool timeout; if (timeout == true) { // Kill the ongoing read read request DBGU_ReadAbort(); }
Remarks
None