![]() |
uartpsv
Vitis Drivers API Documentation
|
This file contains a design example using the XUartPsv driver in polled mode.
The example uses the default setting in the XUartPsv driver: . baud rate 9600 . 8 bit data . 1 stop bit . no parity
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 sg 09/18/17 First Release 1.2 rna 01/20/20 Add self test
Functions | |
int | UartPsvHelloWorldExample (u16 DeviceId) |
This function sends 'Hello World' to an external terminal in polled mode. More... | |
int | main (void) |
Main function to call the Hello World example. More... | |
int main | ( | void | ) |
Main function to call the Hello World example.
References UartPsvHelloWorldExample().
int UartPsvHelloWorldExample | ( | u16 | DeviceId | ) |
This function sends 'Hello World' to an external terminal in polled mode.
The purpose of this function is to illustrate how to use the XUartPsv driver.
DeviceId | is the unique ID for the device from hardware build. |
References XUartPsv_Config::BaseAddress, XUartPsv_CfgInitialize(), XUartPsv_LookupConfig(), XUartPsv_SelfTest(), and XUartPsv_Send().
Referenced by main().