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

UART support. More...

#include <rtems/termiosdevice.h>

Go to the source code of this file.

Data Structures

struct  zynq_uart_context
 

Macros

#define ZYNQ_UART_DEFAULT_BAUD   115200
 

Functions

void zynq_uart_initialize (rtems_termios_device_context *base)
 
int zynq_uart_read_polled (rtems_termios_device_context *base)
 
void zynq_uart_write_polled (rtems_termios_device_context *base, char c)
 
void zynq_uart_reset_tx_flush (zynq_uart_context *ctx)
 
int zynq_cal_baud_rate (uint32_t baudrate, uint32_t *brgr, uint32_t *bauddiv, uint32_t modereg)
 

Variables

const rtems_termios_device_handler zynq_uart_handler
 

Detailed Description

UART support.

Function Documentation

◆ zynq_uart_reset_tx_flush()

void zynq_uart_reset_tx_flush ( zynq_uart_context ctx)

Flush TX FIFO and wait until it is empty. Used in bsp_reset.