tmr_manager
Xilinx SDK Drivers API Documentation
tmr_manager Documentation

This component contains the implementation of the XTMR_Manager component which is the driver for the Xilinx TMR Manager device. Most features are configurable at run time by software, but someare only configurable when the hardware device is built.

The driver defaults to no interrupts at initialization such that interrupts must be enabled if desired. An interrupt is generated when a SEM event that has not been masked occurs.

Initialization & Configuration

The XTMR_Manager_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_Manager_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_Manager_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.

Note

The driver is partitioned such that a minimal implementation may be used. More features require additional files to be linked in.

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.