tmr_manager
Xilinx SDK Drivers API Documentation
xtmr_manager_selftest_example.c File Reference

Overview

This file contains a design example using the TMR_Manager driver (XTMR_Manager) and hardware device.

Note

None

MODIFICATION HISTORY:

Ver   Who  Date  Changes


1.0 sa 04/05/17 First release

Functions

int TMR_ManagerSelfTestExample (u16 DeviceId)
 This function does a minimal test on the TMR_Manager device and driver as a design example. More...
 
int main (void)
 Main function to call the example. More...
 

Function Documentation

int main ( void  )

Main function to call the example.

This function is not included if the example is generated from the TestAppGen test tool.

Parameters
None.
Returns
XST_SUCCESS if successful, otherwise XST_FAILURE.
Note
None.

References TMR_ManagerSelfTestExample().

int TMR_ManagerSelfTestExample ( u16  DeviceId)

This function does a minimal test on the TMR_Manager device and driver as a design example.

The purpose of this function is to illustrate how to use the XTMR_Manager component.

Parameters
DeviceIdis the XPAR_<tmr_manager_instance>_DEVICE_ID value from xparameters.h.
Returns
XST_SUCCESS if successful, otherwise XST_FAILURE.
Note
None.

References XTMR_Manager_Initialize(), and XTMR_Manager_SelfTest().

Referenced by main().