HAL_UART_Receive_IT usage
I'm having trouble understanding correct usage of the HAL UART functions to receive incoming bytes. The function assumes you know the byte count in advance. I would expect a receive function to respond to receive buffer full,empty and maybe half full...