I need to transmit data from peripheral tocentral, if I put more data to buffer before previous data finished transmitting, the system will crash.
so I need to know if the previous data is transmitted.
is there a function for me to do so?
or there could be an error detected for me to stop transmitting more data?
Every time I put 5 bytes into buffer, is there any other way for me to transfer more data? such as to put 10 byte into buffer one time?
Thanks a lot