tmr_manager
Xilinx SDK Drivers API Documentation
xtmr_manager.h File Reference

Data Structures

struct  XTMR_Manager_Stats
 Statistics for the XTMR_Manager driver. More...
 
struct  XTMR_Manager_Config
 This typedef contains configuration information for the device. More...
 
struct  XTMR_Manager
 The XTMR_Manager driver instance data. More...
 

Typedefs

typedef void(* XTMR_Manager_Handler) (void *CallBackRef)
 Callback function. More...
 

Functions

int XTMR_Manager_Initialize (XTMR_Manager *InstancePtr, u16 DeviceId)
 Initialize a XTMR_Manager instance. More...
 
int XTMR_Manager_CfgInitialize (XTMR_Manager *InstancePtr, XTMR_Manager_Config *Config, UINTPTR EffectiveAddr)
 Initialize a XTMR_Manager instance. More...
 
void XTMR_Manager_SetRecoveryHandler (XTMR_Manager *InstancePtr, XTMR_Manager_Handler FuncPtr, void *CallBackRef)
 Set the user recovery handler, which can replace the pre-defined handler completely, to do custom recovery. More...
 
void XTMR_Manager_SetPreResetHandler (XTMR_Manager *InstancePtr, XTMR_Manager_Handler FuncPtr, void *CallBackRef)
 Set the user pre-reset handler, which can be used to save context before reset in a recovery sequence. More...
 
void XTMR_Manager_SetPostResetHandler (XTMR_Manager *InstancePtr, XTMR_Manager_Handler FuncPtr, void *CallBackRef)
 Set the user post-reset handler, which can be used to restore context after reset in a recovery sequence. More...
 
void XTMR_Manager_GetStats (XTMR_Manager *InstancePtr, XTMR_Manager_Stats *StatsPtr)
 Returns a snapshot of the current statistics in the structure specified. More...
 
void XTMR_Manager_ClearStats (XTMR_Manager *InstancePtr)
 This function zeros the statistics for the given instance. More...
 
void XTMR_Manager_EnableInterrupt (XTMR_Manager *InstancePtr, u32 Mask)
 This function enables the core interrupt such that an interrupt will occur when any of the SEM status signals indicated by the mask are changed. More...
 
void XTMR_Manager_DisableInterrupt (XTMR_Manager *InstancePtr)
 This function disables the core interrupt. More...
 
void XTMR_Manager_SetHandler (XTMR_Manager *InstancePtr, XTMR_Manager_Handler FuncPtr, void *CallBackRef)
 This function sets the handler that will be called when an event (interrupt) occurs in the driver. More...
 
int XTMR_Manager_SelfTest (XTMR_Manager *InstancePtr)
 Runs a self-test on the device hardware. More...