![]() |
ccm
Xilinx SDK Drivers API Documentation
|
This file contains an example using the XCCM driver to do self test on the device.
None
MODIFICATION HISTORY:
Ver Who Date Changes
6.00 adk 03/06/14 First Release. Implimented XCcmSelfTestExample function. Adherence to Xilinx coding guidelines.
Macros | |
#define | CCM_DEVICE_ID XPAR_CCM_0_DEVICE_ID |
CCM Device ID. More... | |
Functions | |
int | XCcmSelfTestExample (u16 DeviceId) |
This function does a minimal test on the XCCM driver. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XCcm | Ccm |
Instance of the CCM Device. More... | |
#define CCM_DEVICE_ID XPAR_CCM_0_DEVICE_ID |
CCM Device ID.
Referenced by main().
int main | ( | void | ) |
Main function to call the example.
References CCM_DEVICE_ID, and XCcmSelfTestExample().
int XCcmSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XCCM driver.
DeviceId | is the XPAR_<CCM_instance>_DEVICE_ID value from xparameters.h. |
References XCcm_Config::BaseAddress, XCcm_CfgInitialize(), XCcm_LookupConfig(), and XCcm_SelfTest().
Referenced by main().
XCcm Ccm |
Instance of the CCM Device.