Showing changes from revision #1 to #2:
Added | Removed | Changed
void HAL_UARTFIFOSize(int port, int *rx, int *tx)
Entry | |
---|---|
port | Port number to query |
rx | Location to store RX FIFO size |
tx | Location to store TX FIFO size |
Exit | |
---|---|
- |
Returns This is an internal call for use by the size of the RX and TX FIFOs. Either parameter may beNULLDualSerial . module and should not be used by user code. Instead of calling theHAL Note directly, that user code should interact with the size Serial* of entries the that TX DualSerial creates in DeviceFS.FIFO is the total amount of data that can
be sent immediately when the Transmitter Holding Register Empty
status holds. (So an unusual UART that had a transmit threshold
should return total FIFO size minus threshold).
Returns the size of the RX and TX FIFOs. Either parameter may be NULL. Note that the size of the TX FIFO is the total amount of data that can be sent immediately when the Transmitter Holding Register Empty status holds. (So an unusual UART that had a transmit threshold should return total FIFO size minus threshold).