RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Functions
zynq-uart-polled.c File Reference

This source file contains the implementation of the polled Zynq UART support. More...

#include <dev/serial/zynq-uart-regs.h>
#include <bspopts.h>
#include <rtems/dev/io.h>
#include <rtems/score/assert.h>

Functions

uint32_t zynq_uart_calculate_baud (uint32_t desired_baud, uint32_t mode_clks, uint32_t *cd_ptr, uint32_t *bdiv_ptr)
 Calculates the clock and baud divisor of the best approximation of the desired baud.
 
void zynq_uart_initialize (volatile zynq_uart *regs)
 
int zynq_uart_read_char_polled (volatile zynq_uart *regs)
 
void zynq_uart_write_char_polled (volatile zynq_uart *regs, char c)
 
void zynq_uart_reset_tx_flush (volatile zynq_uart *regs)
 

Detailed Description

This source file contains the implementation of the polled Zynq UART support.