Solved
serial.peek() and serial.flush() equivalent in STM32
I'm trying to port a UART driver from aurdino to STM32. Able to relate all interfaces for aurdino vs STM32 while can't able to map ones for the following
serial.peek()
serial.flush()
Does HAL have an direct interface as peek() to get the next byte of incoming serial data?
