h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_UARTFIFOClear h2. HAL_UARTFIFOClear h5. (HAL entry #76) <pre> void HAL_UARTFIFOClear(int port, int flags) </pre> |_<. Entry | | |port |Port number to modify | |/3^. flags |Flags of which FIFOs to clear: | |Bit 0: Clear RX FIFO | |Bit 1: Clear TX FIFO | |_<. Exit | | |- | | h4. Use 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. h4. See also * [[HAL UART API]] h6. Information source: Kernel.Docs.HAL.Serial in CVS