I want to receive data with UART.
The data could be 10 byte, 20 byte, 30 byte.
COMRX is only 8 bit=1byte.
When COMRX is full, it will generate an interrupt, then I'll read COMRX in the interrupt service routine software code.
But how can I know the data read in COMRX is the last byte then my software can go to some other task?
Are there any status bit that could show there is no data(no rising falling edge) on RX line, which will indicate that the data is fully received?