Hello, I'm trying to use UART with BIOS PSP Driver (v. 1.10.03) on chip C6424 .
To read from an UART input channel (with handle: hUart_in) I'm using the GIO function:
status = GIO_submit(hUart_in,IOM_READ,&buf,&len,NULL);
Where:
buf: is a struct that defines a pointer to the input buffer and a NON-INFINITE timeout;
len: represent the number (maximum) of bytes I want to read (i.e. size of input buffer)
My question is:
is there a way to have back from the GIO_submit() function (or other functions..) the number of bytes correctly received and putted into input buffer in the case of a timeout has occurred ? (so not all the requested "len" bytes has been received yet..)
Thanks