v_sdirxss
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xv_sdirxss_sinit.c File Reference

Overview

This file contains static initialization method for Xilinx SDI RX core.

MODIFICATION HISTORY:
Ver   Who    Date     Changes


1.00 jsr 07/17/17 Initial release.

 
#include "xv_sdirxss.h"
#include "xparameters.h"

Functions

XV_SdiRxSs_Config * XV_SdiRxSs_LookupConfig (UINTPTR BaseAddress)
 This function looks for the device configuration based on the unique device ID. More...
 
u32 XV_SdiRxSs_GetDrvIndex (XV_SdiRxSs *InstancePtr, UINTPTR BaseAddress)
 This function returns the Index number of config table using BaseAddress. More...
 

Function Documentation

u32 XV_SdiRxSs_GetDrvIndex ( XV_SdiRxSs *  InstancePtr,
UINTPTR  BaseAddress 
)

This function returns the Index number of config table using BaseAddress.

Parameters
Apointer to the instance structure
Baseaddress of the instance
Returns
Index number of the config table
XV_SdiRxSs_Config* XV_SdiRxSs_LookupConfig ( UINTPTR  BaseAddress)

This function looks for the device configuration based on the unique device ID.

The table XV_SdiRxSs_ConfigTable[] contains the configuration information for each instance of the device in the system.

Parameters
DeviceIdis the unique device ID of the device being looked up
Returns
A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found

Referenced by SdiRxSs_SelfTestExample().