Showing changes from revision #1 to #2:
Added | Removed | Changed
void HAL_UARTFIFOClear(int port, int flags)
Entry | |
---|---|
port | Port number to modify |
flags | Flags of which FIFOs to clear: |
Bit 0: Clear RX FIFO | |
Bit 1: Clear TX FIFO |
Exit | |
---|---|
- |
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.