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
Does HAL have an direct interface as peek() to get the next byte of incoming serial data?
Solved! Go to Solution.
For serial.flush(), I suggest you to use this:
For serial.peek(), I suggest you to use this: