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

Overview

Low-level driver functions for the 16450/16550 UART device.

Refer to the hardware device specification for more details of the device operation.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00b jhl 04/24/02 First release 1.11a sv 03/20/07 Updated to use the new coding guidelines. 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.3 nsk 04/13/15 Fixed Clock Divisor Enhancement. (CR 857013) 3.4 sk 11/10/15 Used UINTPTR instead of u32 for Baseaddress CR# 867425. Changed the prototypes of XUartNs550_SendByte, XUartNs550_RecvByte, XUartNs550_SetBaud APIs. 3.6 sd 03/02/20 Updated the register macros for DRL and DRM registers. 3.12 adk 06/02/25 Since PLM has custom implementation of outbyte() API don't pull it for PLM template app case. ss 07/11/25 Add define for ASUFW as outbyte() specific implementation for ASUFW is added 3.15 vn 07/30/26 Fix Doxygen warnings 3.15 vn 09/09/26 Align Doxygen comments with AMD standards

#include "xuartns550_l.h"

Functions

void XUartNs550_SendByte (UINTPTR BaseAddress, u8 Data)
 Sends a data byte with the UART. More...
 
u8 XUartNs550_RecvByte (UINTPTR BaseAddress)
 Receives a byte from the UART. More...
 
void XUartNs550_SetBaud (UINTPTR BaseAddress, u32 InputClockHz, u32 BaudRate)
 Sets the baud rate for the UART. More...