tmr_manager: xtmr_manager_polled_example.c File Reference

| tmr_manager Xilinx SDK Drivers API Documentation

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

Functions
xtmr_manager_polled_example.c File Reference

## Overview

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

Note

The user must provide a physical loopback such that data which is transmitted will be received.

MODIFICATION HISTORY:

    Ver   Who  Date  Changes

    1.0   sa   04/05/17 First release

## Functions
int | TMR_ManagerPolledExample (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 TMR Manager polled example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call the TMR Manager polled example.

Parameters

  None. |

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.

References TMR_ManagerPolledExample().

int TMR_ManagerPolledExample | ( | 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.

This function polls the TMR_Manager and does not require the use of interrupts.

Parameters

  DeviceId | is the Device ID of the TMR_Manager and is the XPAR_<tmr_manager_instance>_DEVICE_ID value from xparameters.h.

Returns
  XST_SUCCESS if successful, XST_FAILURE if unsuccessful.

Note
  None

References XTMR_Manager_Initialize(), and XTMR_Manager_SelfTest().

Referenced by main().