libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
|
uint8_t uart_recv(const int uart)
Receive a byte of data from the specified UART index by waiting for the receive FIFO to have data and...
void uart_init(const int uart)
Initialize the UART specified by the index with a shared memory handle and a buffer size of 4096 byte...
bool uart_has_space(const int uart)
Check if the transmit FIFO for the specified UART index has space available.
void uart_reset_fifos(const int uart)
This function resets both the transmit and receive FIFOs of the UART specified by the uart parameter....
void uart_destroy(const int uart)
Close the shared memory handle for the specified UART index.
void uart_send(const int uart, const uint8_t data)
Send a byte of data on the specified UART index by waiting for the transmit FIFO to have space and th...
bool uart_has_data(const int uart)
Check if the receive FIFO for the specified UART index has data available.