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 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).