tmr_inject
Xilinx SDK Drivers API Documentation
tmr_inject Documentation

This component contains the implementation of the XTMR_Inject component which is the driver for the Xilinx TMR Inject device.Initialization & Configuration

The XTMR_Inject_Config structure is used by the driver to configure itself. This configuration structure is typically created by the tool-chain based on HW build properties.

To support multiple runtime loading and initialization strategies employed by various operating systems, the driver instance can be initialized in one of the following ways:

  • XTMR_Inject_Initialize(InstancePtr, DeviceId) - The driver looks up its own configuration structure created by the tool-chain based on an ID provided by the tool-chain.
  • XTMR_Inject_CfgInitialize(InstancePtr, CfgPtr, EffectiveAddr) - Uses a configuration structure provided by the caller. If running in a system with address translation, the provided virtual memory base address replaces the physical address present in the configuration structure.

RTOS Independence

This driver is intended to be RTOS and processor independent. It works with physical addresses only. Any needs for dynamic memory management, threads or thread mutual exclusion, virtual memory, or cache control must be satisfied by the layer above this driver.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 sa 04/05/17 First release ms 03/17/17 Added readme.txt file in examples folder for doxygen generation. 1.1 mus 10/25/18 Added new member "LMBAddrWidth" to config structure. It contains value of C_INJECT_LMB_AWIDTH parameter.