![]() |
uartns550
Vitis Drivers API Documentation
|
This file contains a design example using the Uart 16450/550 driver (XUartNs550) and hardware device using polled mode.
None
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a sv 10/07/05 Created for Test App integration 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.
Functions | |
int | UartNs550SelfTestExample (u16 DeviceId) |
This function does a minimal test on the UartNs550 device and driver as a design example. More... | |
int | main (void) |
Main function to call the example. More... | |
int main | ( | void | ) |
Main function to call the example.
This function is not included if the example is generated from the TestAppGen test tool.
References UartNs550SelfTestExample().
int UartNs550SelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the UartNs550 device and driver as a design example.
The purpose of this function is to illustrate how to use the XUartNs550 component.
DeviceId | is the XPAR_<uartns550_instance>_DEVICE_ID value from xparameters.h. |
References XUartNs550_Initialize(), and XUartNs550_SelfTest().
Referenced by main().