emaclite: xemaclite_selftest_example.c File Reference

| emaclite Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xemaclite_selftest_example.c File Reference

## Overview

This file contains a design example using the EmacLite driver.

Note

None.

MODIFICATION HISTORY:

Ver Who Date Changes

1.00a ecm 01/25/05 Initial release for TestApp integration. 1.00a sv 06/06/05 Minor changes to comply to Doxygen and coding guidelines 2.00a ktn 04/14/09 Removed support for TestApp 4.3 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.

## Functions
int | EMACLiteSelfTestExample (u16 DeviceId)
| The main entry point for the EmacLite driver selftest example. More...
int | main (void)
| This function is the main function of the EmacLite selftest example. More...

## Function Documentation

int EMACLiteSelfTestExample | ( | u16 | DeviceId | ) |

The main entry point for the EmacLite driver selftest example.

Parameters

  DeviceId | is the XPAR_<xemaclite_instance>_DEVICE_ID value from xparameters.h

Returns
  XST_SUCCESS to indicate success, else XST_FAILURE.

Note
  None.

References XEmacLite_Config::BaseAddress, XEmacLite_CfgInitialize(), XEmacLite_LookupConfig(), and XEmacLite_SelfTest().

Referenced by main().

int main | ( | void |  | ) |

This function is the main function of the EmacLite selftest example.

Parameters

  None |

Returns
  XST_SUCCESS to indicate success, else XST_FAILURE.

Note
  None

References EMACLiteSelfTestExample().