RTEMS 6.1-rc1
Data Structures | Macros | Functions | Variables
versal-uart.h File Reference

Xilinx Versal UART support. More...

#include <rtems/termiostypes.h>

Go to the source code of this file.

Data Structures

struct  versal_uart_context
 

Macros

#define VERSAL_UART_DEFAULT_BAUD   115200
 

Functions

int versal_uart_initialize (rtems_termios_device_context *base)
 
int versal_uart_read_polled (rtems_termios_device_context *base)
 
void versal_uart_write_polled (rtems_termios_device_context *base, char c)
 
void versal_uart_reset_tx_flush (rtems_termios_device_context *base)
 
int versal_cal_baud_rate (uint32_t baudrate, uint32_t maxerror, uint32_t *ibdiv, uint32_t *fbdiv)
 

Variables

const rtems_termios_device_handler versal_uart_handler
 

Detailed Description

Xilinx Versal UART support.

Function Documentation

◆ versal_uart_reset_tx_flush()

void versal_uart_reset_tx_flush ( rtems_termios_device_context base)

Flush TX FIFO and wait until it is empty.