uartns550
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xuartns550_options.c File Reference

Overview

Options functions for the XUartNs550 driver.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00b jhl 03/11/02 Repartitioned driver for smaller files. 1.00b rpm 04/12/05 Added critical section protection in ReadFcrRegister 1.11a sv 03/20/07 Updated to use the new coding guidelines. 1.13a sdm 07/10/09 Added receive line interrupt option to OptionsTable[]. 2.00a sdm 09/22/09 Converted all register accesses to 32 bit access. 2.00a ktn 10/20/09 Converted all register accesses to 32 bit access. Updated to use HAL Processor APIs. _m is removed from the name of all the macro definitions. 3.4 sk 11/10/15 Used UINTPTR instead of u32 for Baseaddress CR# 867425. Changed the prototype of ReadFcrRegister API. 3.15 vn 09/09/26 Align Doxygen comments with AMD standards

#include "xuartns550.h"
#include "xuartns550_i.h"
#include "xil_io.h"

Macros

Options table size
#define XUN_NUM_OPTIONS   (sizeof(OptionsTable) / sizeof(Mapping))
 Number of entries in OptionsTable. More...
 

Functions

u16 XUartNs550_GetOptions (XUartNs550 *InstancePtr)
 Gets the options for the specified driver instance. More...
 
int XUartNs550_SetOptions (XUartNs550 *InstancePtr, u16 Options)
 Sets the options for the specified driver instance. More...
 
u8 XUartNs550_GetFifoThreshold (XUartNs550 *InstancePtr)
 Gets the receive FIFO trigger level. More...
 
int XUartNs550_SetFifoThreshold (XUartNs550 *InstancePtr, u8 TriggerLevel)
 Sets the receive FIFO trigger level. More...
 
u8 XUartNs550_GetLastErrors (XUartNs550 *InstancePtr)
 Returns the last errors that have occurred in the specified UART. More...
 
u8 XUartNs550_GetModemStatus (XUartNs550 *InstancePtr)
 Gets the modem status from the specified UART. More...
 
int XUartNs550_IsSending (XUartNs550 *InstancePtr)
 Determines if the specified UART is sending data. More...