![]() |
uartps
Vitis Drivers API Documentation
|
This example runs on zynqmp evaluation board (zcu102), it performs self test on the device by using XUartPs driver.
None
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a drg/jz 01/13/10 First Release 1.03a sg 08/14/12 Updated the example for CR 666306. Modified the device ID to use the first Device Id Removed the printf at the start of the main
Functions | |
int | UartPsSelfTestExample (u16 DeviceId) |
This function does a minimal test on the XUartPs driver. More... | |
int | main (void) |
Main function to call the example. More... | |
int main | ( | void | ) |
Main function to call the example.
References UartPsSelfTestExample().
int UartPsSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XUartPs driver.
DeviceId | is the XPAR_<UARTPS_instance>_DEVICE_ID value from xparameters.h |
References XUartPs_Config::BaseAddress, XUartPs_CfgInitialize(), XUartPs_LookupConfig(), and XUartPs_SelfTest().
Referenced by main().