iicps
Vitis Drivers API Documentation
|
This example runs on zynqmp / versal evaluation boards using the IIC hardware device and XIicPs driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a sdm 05/30/11 First release 3.13 rna 02/05/21 Changed XIicPs global variable name 3.18 gm 07/14/23 Added SDT support.
Functions | |
int | IicPsSelfTestExample (u16 DeviceId) |
This function does a minimal test on the Iic device and driver as a design example. More... | |
int | main (void) |
Main function to call the Self Test example. More... | |
int IicPsSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the Iic device and driver as a design example.
The purpose of this function is to illustrate how to use the XIicPs component.
DeviceId | is the Device ID of the IicPs Device and is the XPAR_<IICPS_instance>_DEVICE_ID value from xparameters.h |
References XIicPs_Config::BaseAddress, XIicPs_CfgInitialize(), XIicPs_LookupConfig(), and XIicPs_SelfTest().
Referenced by main().
int main | ( | void | ) |
Main function to call the Self Test example.
References IicPsSelfTestExample().