libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
Loading...
Searching...
No Matches
uart.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for uart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  uart_index_t { UART0 = 0 , UART1 = 1 , NUM_UARTS }
 

Functions

void uart_init (const int uart)
 
void uart_destroy (const int uart)
 
void uart_send (const int uart, const uint8_t data)
 
uint8_t uart_recv (const int uart)
 
bool uart_has_data (const int uart)
 
bool uart_has_space (const int uart)
 
void uart_reset_fifos (const int uart)