void HAL_UARTFIFOClear(int port, int flags)
|port||Port number to modify|
|flags||Flags of which FIFOs to clear:|
|Bit 0: Clear RX FIFO|
|Bit 1: Clear TX FIFO|
This is an internal call for use by the DualSerial module and should not be used by user code. Instead of calling the HAL directly, user code should interact with the Serial* entries that DualSerial creates in DeviceFS.
Clears one or more of the FIFOs associated with the indicated port.