![]() |
uartns550
Vitis Drivers API Documentation
|
Demonstrates XUartNs550 driver usage in polled mode.
This file contains a design example using the Uart 16450/550 driver (XUartNs550) and hardware device using polled mode.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a jhl 05/13/02 First release 1.00a sv 06/08/05 Minor changes to comply to Doxygen and coding guidelines 2.00a ktn 10/20/09 Updated to use HAL processor APIs and minor modifications as per coding guidelines. 3.4 ms 01/23/17 Added xil_printf statement in main function to ensure that "Successfully ran" and "Failed" strings are available in all examples. This is a fix for CR-965028. 3.9 gm 07/09/23 Added SDT support 3.13 bkv 07/07/25 Fixed GCC Warnings. 3.14 vlt 12/18/25 Update Doxygen comments to include SDT flow details. 3.15 vn 09/09/26 Align Doxygen comments with AMD standards
Macros | |
Device parameters | |
The following constants map to the XPAR parameters created in the xparameters.h file. They are defined here such that a user can easily change all the needed parameters in one place. | |
| #define | XUARTNS550_BASEADDRESS XPAR_XUARTNS550_0_BASEADDR |
| UART base address. More... | |
Functions | |
| int | UartNs550HelloWorldExample (UINTPTR BaseAddress) |
| Sends "Hello World" over the UART in polled mode. More... | |
| int | main (void) |
| Calls the UartNs550 hello world example. More... | |
Variables | |
| XUartNs550 | UartNs550 |
| The instance of the UART Driver. More... | |
| #define XUARTNS550_BASEADDRESS XPAR_XUARTNS550_0_BASEADDR |
UART base address.
Referenced by main().
| int main | ( | void | ) |
Calls the UartNs550 hello world example.
References UartNs550HelloWorldExample(), and XUARTNS550_BASEADDRESS.
| int UartNs550HelloWorldExample | ( | UINTPTR | BaseAddress | ) |
Sends "Hello World" over the UART in polled mode.
Sends Hello World with the UART 16450/550 device and driver as a design example.
This function illustrates how to use the XUartNs550 driver.
This function polls the UART and does not require the use of interrupts.
| [in] | BaseAddress | Base address of the device. |
References XUartNs550_Initialize(), and XUartNs550_Send().
Referenced by main().
| XUartNs550 UartNs550 |
The instance of the UART Driver.