tmr_inject: xtmr_inject_low_level_example.c File Reference

| tmr_inject Xilinx SDK Drivers API Documentation

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

Functions
xtmr_inject_low_level_example.c File Reference

## Overview

This file contains a design example using the low-level driver functions and macros of the TMRInject driver (XTMRInject).

Note

It is assumed that the design is Triple Modular Redundant, such that injection of a fault will not prevent the software from continuing to run.

MODIFICATION HISTORY:

    Ver   Who  Date  Changes

    1.0   sa   04/05/17 First release

## Functions
int | TMRInjectLowLevelExample (u32 TMRInjectBaseAddress)
| This function does a minimal test on the TMRInject device using the low-level driver macros and functions. More...
int | main (void)
| Main function to call the example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call the example.

Parameters

  None. |

Returns
  XST_SUCCESS if successful, XST_FAILURE if unsuccessful.

Note
  None.

References TMRInjectLowLevelExample().

int TMRInjectLowLevelExample | ( | u32 | TMRInjectBaseAddress | ) |

This function does a minimal test on the TMRInject device using the low-level driver macros and functions.

Parameters

  TMRInjectBaseAddress | is the base address of the TMRInject device and is the XPAR_<TMRINJECT_instance>_BASEADDR value from xparameters.h.

Returns
  XST_SUCCESS if successful, XST_FAILURE if unsuccessful.

Note
  None.

Referenced by main().