csl_aif2GetHwStatusAux.h File Reference

API Auxilary header file for Antenna Interface 2 set HW status. More...

#include <ti/csl/csl_aif2.h>

Functions

static void CSL_aif2GetVersion (CSL_Aif2Handle hAif2, CSL_Aif2PidStatus *version)
static Bool CSL_aif2GetVcStat (CSL_Aif2Handle hAif2)
static void CSL_aif2GetSdRxLinkStatus (CSL_Aif2Handle hAif2, CSL_Aif2SdRxStatus *pSdRxStat)
static void CSL_aif2GetSdTxLinkStatus (CSL_Aif2Handle hAif2, CSL_Aif2SdTxStatus *pSdTxStat)
static Uint8 CSL_aif2GetSdB8PllLock (CSL_Aif2Handle hAif2)
static Uint8 CSL_aif2GetSdB4PllLock (CSL_Aif2Handle hAif2)
static void CSL_aif2GetRmLinkStatus0 (CSL_Aif2Handle hAif2, CSL_Aif2RmStatus0 *pRmStat)
static void CSL_aif2GetRmLinkStatus1 (CSL_Aif2Handle hAif2, CSL_Aif2RmStatus1 *pRmStat)
static void CSL_aif2GetRmLinkStatus2 (CSL_Aif2Handle hAif2, CSL_Aif2RmStatus2 *pRmStat)
static void CSL_aif2GetRmLinkStatus3 (CSL_Aif2Handle hAif2, CSL_Aif2RmStatus3 *pRmStat)
static void CSL_aif2GetRmLinkStatus4 (CSL_Aif2Handle hAif2, CSL_Aif2RmStatus4 *pRmStat)
static Uint8 CSL_aif2GetTmCpriHfnStatus (CSL_Aif2Handle hAif2)
static void CSL_aif2GetTmLinkStatus (CSL_Aif2Handle hAif2, CSL_Aif2TmStatus *pTmStat)
static Uint8 CSL_aif2GetRtFifoDepthStatus (CSL_Aif2Handle hAif2)
static void CSL_aif2GetRtHeaderStatus (CSL_Aif2Handle hAif2, CSL_Aif2RtHeaderStatus *pRtStat)
static void CSL_aif2GetRtLinkStatus (CSL_Aif2Handle hAif2, CSL_Aif2RtStatus *pRtStat)
static void CSL_aif2GetPdChannelStatus (CSL_Aif2Handle hAif2, Uint32 *ChanStat)
static void CSL_aif2GetPdPacketStatus (CSL_Aif2Handle hAif2, Uint32 *PacketStat)
static void CSL_aif2GetPeChannelStatus (CSL_Aif2Handle hAif2, Uint32 *ChanStat)
static void CSL_aif2GetPePacketStatus (CSL_Aif2Handle hAif2, Uint32 *PacketStat)
static void CSL_aif2GetInDbDebugOffsetData (CSL_Aif2Handle hAif2, Uint8 *offset)
static void CSL_aif2GetEDbDebugData (CSL_Aif2Handle hAif2, Uint32 *debug_data)
static void CSL_aif2GetEDbDebugSideData (CSL_Aif2Handle hAif2, CSL_Aif2DbSideData *side_data)
static void CSL_aif2GetEDbDebugOffsetData (CSL_Aif2Handle hAif2, Uint8 *offset)
static Uint32 CSL_aif2GetEgrEopCount (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetIngrEopCount (CSL_Aif2Handle hAif2)
static Uint8 CSL_aif2GetAtLinkPiCapture (CSL_Aif2Handle hAif2)
static void CSL_aif2GetAtRadtCapture (CSL_Aif2Handle hAif2, CSL_Aif2AtCaptRadt *radt)
static Uint8 CSL_aif2GetAtRp1TypeCapture (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1TodCaptureLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1TodCaptureMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1Rp3CaptureLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1Rp3CaptureMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1RadCaptureLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRp1RadCaptureMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtPhytClkCount (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtPhytFrameLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtPhytFrameMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRadtClkCount (CSL_Aif2Handle hAif2)
static Uint8 CSL_aif2GetAtRadtSymCount (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRadtFrameLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtRadtFrameMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtUlRadtClkCount (CSL_Aif2Handle hAif2)
static Uint8 CSL_aif2GetAtUlRadtSymCount (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtUlRadtFrameLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtUlRadtFrameMsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtDlRadtClkCount (CSL_Aif2Handle hAif2)
static Uint8 CSL_aif2GetAtDlRadtSymCount (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtDlRadtFrameLsb (CSL_Aif2Handle hAif2)
static Uint32 CSL_aif2GetAtDlRadtFrameMsb (CSL_Aif2Handle hAif2)
static void CSL_aif2GetAtRadtWcdmaValue (CSL_Aif2Handle hAif2, CSL_Aif2AtWcdmaCount *wcdma)
static void CSL_aif2GetAtUlRadtWcdmaValue (CSL_Aif2Handle hAif2, CSL_Aif2AtWcdmaCount *wcdma)
static void CSL_aif2GetAtDlRadtWcdmaValue (CSL_Aif2Handle hAif2, CSL_Aif2AtWcdmaCount *wcdma)
static Uint32 CSL_aif2GetAtRadtTstampClkCount (CSL_Aif2Handle hAif2)
static void CSL_aif2GetAtGsmTcount (CSL_Aif2Handle hAif2, CSL_Aif2AtGsmTCount *tcount)
static void CSL_aif2GetEeDbIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeDbInt *DbInt)
static void CSL_aif2GetEeAdIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeAdInt *AdInt)
static void CSL_aif2GetEeCdIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeCdInt *CdInt)
static void CSL_aif2GetEeSdIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeSdInt *SdInt)
static void CSL_aif2GetEeVcIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeVcInt *VcInt)
static void CSL_aif2GetEeAif2RunStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeAif2Run *Aif2Run)
static void CSL_aif2GetEeAif2Origination (CSL_Aif2Handle hAif2, CSL_Aif2EeOrigin *Aif2Origin)
static void CSL_aif2GetEeLinkAIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeLinkAInt *LinkAInt)
static void CSL_aif2GetEeLinkBIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeLinkBInt *LinkBInt)
static void CSL_aif2GetEeAtIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EeAtInt *AtInt)
static void CSL_aif2GetEePdIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EePdInt *PdInt)
static void CSL_aif2GetEePeIntStatus (CSL_Aif2Handle hAif2, CSL_Aif2EePeInt *PeInt)


Detailed Description

API Auxilary header file for Antenna Interface 2 set HW status.

============================================================================


Function Documentation

static Uint32 CSL_aif2GetAtDlRadtClkCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtDlRadtClkCount

Description
Get Aif2 DL Rad timer clock count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_DLRADT_VALUE_LSBS_DLRADTCLOCK_COUNT_VALUE

Example

        Uint32  count;
        
        count = CSL_aif2GetAtDlRadtClkCount(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtDlRadtFrameLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtDlRadtFrameLsb

Description
Get Aif2 DL Rad timer frame count lsb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_DLRADT_VALUE_MID_DLRADTFRAME_VALUE_LSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtDlRadtFrameLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtDlRadtFrameMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtDlRadtFrameMsb

Description
Get Aif2 DL Rad timer frame count msb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_DLRADT_VALUE_MSBS_DLRADTFRAME_VALUE_MSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtDlRadtFrameMsb(hAif2);
        
     
===========================================================================

static Uint8 CSL_aif2GetAtDlRadtSymCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtDlRadtSymCount

Description
Get Aif2 DL Rad timer symbol count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_DLRADT_VALUE_LSBS_DLRADTSYMBOL_COUNT_VALUE

Example

        Uint8  count;
        
        count = CSL_aif2GetAtDlRadtSymCount(hAif2);
        
     
===========================================================================

static void CSL_aif2GetAtDlRadtWcdmaValue ( CSL_Aif2Handle  hAif2,
CSL_Aif2AtWcdmaCount wcdma 
) [inline, static]

============================================================================
CSL_aif2GetAtDlRadtWcdmaValue

Description
Get Aif2 Dl Rad timer wcdma count value

Arguments

           hAif2      Handle to the aif2 instance     
           CSL_Aif2AtWcdmaCount     WCDMA chip, slot and frame value structure
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_DLRADT_WCDMA_VALUE_CHIPVALUE,AIF2_AT_DLRADT_WCDMA_VALUE_SLOTVALUE, AIF2_AT_DLRADT_WCDMA_VALUE_FRAMEVALUE Example

        CSL_Aif2AtWcdmaCount  wcdma_count;
        
        CSL_aif2GetAtDlRadtWcdmaValue(hAif2,&wcdma_count);

        wcdma_count.chip = ....
        wcdma_count.slot = .....
        wcdma_count.frame = ....
        
     
===========================================================================

static void CSL_aif2GetAtGsmTcount ( CSL_Aif2Handle  hAif2,
CSL_Aif2AtGsmTCount tcount 
) [inline, static]

============================================================================
CSL_aif2GetAtGsmTcount

Description
Get Aif2 GSM Tcount value

Arguments

           hAif2      Handle to the aif2 instance     
           CSL_Aif2AtWcdmaCount     WCDMA chip, slot and frame value structure
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_GSM_TCOUNT_VALUE_T1,AIF2_AT_GSM_TCOUNT_VALUE_T2, AIF2_AT_GSM_TCOUNT_VALUE_T3 Example

        CSL_Aif2AtGsmTCount  tcount;
        
        CSL_aif2GetAtGsmTcount(hAif2,&tcount);

        tcount.t1 = ....
        tcount.t2 = .....
        tcount.t3 = ....
        
     
===========================================================================

static Uint8 CSL_aif2GetAtLinkPiCapture ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtLinkPiCapture

Description
Get Aif2 timer Pi captured value for link

Arguments

           hAif2      Handle to the aif2 instance    should use hAif2->arg_link to select link
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_PIVALUE_LK_PICAPTURED_VALUE

Example

        Uint32  pi;
        hAif2->arg_link = LINK0;
        pi = CSL_aif2GetAtLinkPiCapture(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtPhytClkCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtPhytClkCount

Description
Get Aif2 Phy timer clock count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_PHYT_CLKCNT_VALUE_PHYTCLOCK_COUNT_VALUE

Example

        Uint32  count;
        
        count = CSL_aif2GetAtPhytClkCount(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtPhytFrameLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtPhytFrameLsb

Description
Get Aif2 Phy timer frame count lsb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_PHYT_FRM_VALUE_LSBS_PHYTFRAME_VALUE_LSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtPhytFrameLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtPhytFrameMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtPhytFrameMsb

Description
Get Aif2 Phy timer frame count msb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_PHYT_FRM_VALUE_MSBS_PHYTFRAME_VALUE_MSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtPhytFrameMsb(hAif2);
        
     
===========================================================================

static void CSL_aif2GetAtRadtCapture ( CSL_Aif2Handle  hAif2,
CSL_Aif2AtCaptRadt radt 
) [inline, static]

============================================================================
CSL_aif2GetAtRadtCapture

Description
Get Aif2 Rad timer captured clock, symbol, frame count value upon a phyt frame boundary

Arguments

           hAif2      Handle to the aif2 instance     
           CSL_Aif2AtCaptRadt    Radt clock, symbol and frame value structure
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_CAPTRADT_RADTCLOCKCOUNT_CAPTURE,AIF2_AT_CAPTRADT_RADTSYMBOLCOUNT_CAPTURE, AIF2_AT_CAPTRADT_RADTFRAMECOUNT_CAPTURE Example

        CSL_Aif2AtCaptRadt  radt_count;
        
        CSL_aif2GetAtRadtCapture(hAif2,&radt_count);
     
===========================================================================

static Uint32 CSL_aif2GetAtRadtClkCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRadtClkCount

Description
Get Aif2 Rad timer clock count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_VALUE_LSBS_RADTCLOCK_COUNT_VALUE

Example

        Uint32  count;
        
        count = CSL_aif2GetAtRadtClkCount(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRadtFrameLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRadtFrameLsb

Description
Get Aif2 Rad timer frame count lsb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_VALUE_MID_RADTFRAME_VALUE_LSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtRadtFrameLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRadtFrameMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRadtFrameMsb

Description
Get Aif2 Rad timer frame count msb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_VALUE_MSBS_RADTFRAME_VALUE_MSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtRadtFrameMsb(hAif2);
        
     
===========================================================================

static Uint8 CSL_aif2GetAtRadtSymCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRadtSymCount

Description
Get Aif2 Rad timer symbol count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_VALUE_LSBS_RADTSYMBOL_COUNT_VALUE

Example

        Uint8  count;
        
        count = CSL_aif2GetAtRadtSymCount(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRadtTstampClkCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRadtTstampClkCount

Description
Get Aif2 Rad timer time stamp count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_TSTAMP_VALUE_RADTTSTAMP_CLOCK_COUNTER_VALUE

Example

        Uint32  count;
        
        count = CSL_aif2GetAtRadtTstampClkCount(hAif2);
        
     
===========================================================================

static void CSL_aif2GetAtRadtWcdmaValue ( CSL_Aif2Handle  hAif2,
CSL_Aif2AtWcdmaCount wcdma 
) [inline, static]

============================================================================
CSL_aif2GetAtRadtWcdmaValue

Description
Get Aif2 Rad timer wcdma count value

Arguments

           hAif2      Handle to the aif2 instance     
           CSL_Aif2AtWcdmaCount     WCDMA chip, slot and frame value structure
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RADT_WCDMA_VALUE_CHIPVALUE,AIF2_AT_RADT_WCDMA_VALUE_SLOTVALUE, AIF2_AT_RADT_WCDMA_VALUE_FRAMEVALUE Example

        CSL_Aif2AtWcdmaCount  wcdma_count;
        
        CSL_aif2GetAtRadtWcdmaValue(hAif2,&wcdma_count);

        wcdma_count.chip = ....
        wcdma_count.slot = .....
        wcdma_count.frame = ....
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1RadCaptureLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1RadCaptureLsb

Description
Get Aif2 timer RP1 RAD capture value lsb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_RAD_CAPTURE_L_RP1RADIO_SYSTEM_CAPTURE_LSBS

Example

        Uint32  RADLo;
        
        RADLo = CSL_aif2GetAtRp1RadCaptureLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1RadCaptureMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1RadCaptureMsb

Description
Get Aif2 timer RP1 Radio system capture value msb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_RAD_CAPTURE_H_RP1RADIO_SYSTEM_CAPTURE_MSBS

Example

        Uint32  RADHi;
        
        RADHi = CSL_aif2GetAtRp1RadCaptureMsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1Rp3CaptureLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1Rp3CaptureLsb

Description
Get Aif2 timer RP1 RP3 capture value lsb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_RP3_CAPTURE_L_RP1RP3_CAPTURE_LSBS

Example

        Uint32  RP3Lo;
        
        RP3Lo = CSL_aif2GetAtRp1Rp3CaptureLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1Rp3CaptureMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1Rp3CaptureMsb

Description
Get Aif2 timer RP1 RP3 capture value msb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_RP3_CAPTURE_H_RP1RP3_CAPTURE_MSBS

Example

        Uint32  RP3Hi;
        
        RP3Hi = CSL_aif2GetAtRp1Rp3CaptureMsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1TodCaptureLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1TodCaptureLsb

Description
Get Aif2 timer RP1 TOD capture value lsb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_TOD_CAPTURE_L_RP1TOD_CAPTURE_LSBS

Example

        Uint32  tod_lo;
        
        tod_lo = CSL_aif2GetAtRp1TodCaptureLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtRp1TodCaptureMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1TodCaptureMsb

Description
Get Aif2 timer RP1 TOD capture value msb

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_TOD_CAPTURE_H_RP1TOD_CAPTURE_MSBS

Example

        Uint32  tod_hi;
        
        tod_hi = CSL_aif2GetAtRp1TodCaptureMsb(hAif2);
        
     
===========================================================================

static Uint8 CSL_aif2GetAtRp1TypeCapture ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtRp1TypeCapture

Description
Get Aif2 timer RP1 type capture value

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_RP1_TYPE_CAPTURE_RP1TYPE_CAPTURED

Example

        Uint8  type;
        
        type = CSL_aif2GetAtRp1TypeCapture(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtUlRadtClkCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtUlRadtClkCount

Description
Get Aif2 UL Rad timer clock count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_ULRADT_VALUE_LSBS_ULRADTCLOCK_COUNT_VALUE

Example

        Uint32  count;
        
        count = CSL_aif2GetAtUlRadtClkCount(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtUlRadtFrameLsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtUlRadtFrameLsb

Description
Get Aif2 UL Rad timer frame count lsb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_ULRADT_VALUE_MID_ULRADTFRAME_VALUE_LSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtUlRadtFrameLsb(hAif2);
        
     
===========================================================================

static Uint32 CSL_aif2GetAtUlRadtFrameMsb ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtUlRadtFrameMsb

Description
Get Aif2 UL Rad timer frame count msb value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_ULRADT_VALUE_MSBS_ULRADTFRAME_VALUE_MSBS

Example

        Uint32  count;
        
        count = CSL_aif2GetAtUlRadtFrameMsb(hAif2);
        
     
===========================================================================

static Uint8 CSL_aif2GetAtUlRadtSymCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetAtUlRadtSymCount

Description
Get Aif2 UL Rad timer symbol count value

Arguments

           hAif2      Handle to the aif2 instance     
      

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_ULRADT_VALUE_LSBS_ULRADTSYMBOL_COUNT_VALUE

Example

        Uint8  count;
        
        count = CSL_aif2GetAtUlRadtSymCount(hAif2);
        
     
===========================================================================

static void CSL_aif2GetAtUlRadtWcdmaValue ( CSL_Aif2Handle  hAif2,
CSL_Aif2AtWcdmaCount wcdma 
) [inline, static]

============================================================================
CSL_aif2GetAtUlRadtWcdmaValue

Description
Get Aif2 Ul Rad timer wcdma count value

Arguments

           hAif2      Handle to the aif2 instance     
           CSL_Aif2AtWcdmaCount     WCDMA chip, slot and frame value structure
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AT_ULRADT_WCDMA_VALUE_CHIPVALUE,AIF2_AT_ULRADT_WCDMA_VALUE_SLOTVALUE, AIF2_AT_ULRADT_WCDMA_VALUE_FRAMEVALUE Example

        CSL_Aif2AtWcdmaCount  wcdma_count;
        
        CSL_aif2GetAtUlRadtWcdmaValue(hAif2,&wcdma_count);

        wcdma_count.chip = ....
        wcdma_count.slot = .....
        wcdma_count.frame = ....
        
     
===========================================================================

static void CSL_aif2GetEDbDebugData ( CSL_Aif2Handle  hAif2,
Uint32 *  debug_data 
) [inline, static]

============================================================================
CSL_aif2GetEDbDebugData

Description
Get Debug data written to Egress DB RAM (128 bit)

Arguments


            hAif2    Handle to the aif2 instance
            
            *Uint32   pointer to 128 bit Debug data 

     

Return Value void

Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_DB_EDB_DEBUG_D0_DATA

Example

        Uint32    DebugData[4];
       
        CSL_aif2GetEDbDebugData(hAif2, &DebugData[0]);
     
===========================================================================

static void CSL_aif2GetEDbDebugOffsetData ( CSL_Aif2Handle  hAif2,
Uint8 *  offset 
) [inline, static]

============================================================================
CSL_aif2GetEDbDebugOffsetData

Description
Get Write and Read Offset Value at address in DB_EDB_DEBUG_OFS

Arguments

           hAif2      Handle to the aif2 instance     
           Uint8 *         ponter to write and read offset data 
     

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_DB_EDB_DEBUG_OFS_DAT_WOFF

Example

        Uint8  offset[2];
        
        CSL_aif2GetEDbDebugOffsetData(hAif2, &offset[0]);

        Uint8 write_offset = offset[0];
        Uint8 read_offset = offset[1];
     
===========================================================================

static void CSL_aif2GetEDbDebugSideData ( CSL_Aif2Handle  hAif2,
CSL_Aif2DbSideData side_data 
) [inline, static]

============================================================================
CSL_aif2GetEDbDebugSideData

Description
Get Egress DB debug side band data (sop, eop, xcnt only)

Arguments


            hAif2    Handle to the aif2 instance
            
            CSL_Aif2DbSideData     Side data structure for debug

     

Return Value void

Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_DB_EDB_DEBUG_SBND_SOP,AIF2_DB_EDB_DEBUG_SBND_EOP, AIF2_DB_EDB_DEBUG_SBND_XCNT,AIF2_DB_EDB_DEBUG_SBND_SYMBOL

Example

        CSL_Aif2DbSideData   SideData;
         
        CSL_aif2GetEDbDebugSideData(hAif2, &SideData);

        SideData.bSop = ...;
        SideData.bEop = ...;
        SideData.xcnt = ...;
     
===========================================================================

static void CSL_aif2GetEeAdIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeAdInt AdInt 
) [inline, static]

============================================================================
CSL_aif2GetEeAdIntStatus

Description
Get Aif2 EE AD interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeAdInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_AD_IRS_AD_EE_I_CD_DATA_ERR, AIF2_EE_AD_IRS_AD_EE_E_CD_SCH_ERR, AIF2_EE_AD_IRS_AD_EE_I_DMA_0_ERR, AIF2_EE_AD_IRS_AD_EE_I_DMA_1_ERR, AIF2_EE_AD_IRS_AD_EE_I_DMA_2_ERR, AIF2_EE_AD_IRS_AD_EE_E_DMA_0_ERR, AIF2_EE_AD_IRS_AD_EE_E_DMA_1_ERR, AIF2_EE_AD_IRS_AD_EE_E_DMA_2_ERR;

AIF2_EE_AD_EN_EV0_AD_EE_I_CD_DATA_ERR, AIF2_EE_AD_EN_EV0_AD_EE_E_CD_SCH_ERR, AIF2_EE_AD_EN_EV0_AD_EE_I_DMA_0_ERR, AIF2_EE_AD_EN_EV0_AD_EE_I_DMA_1_ERR, AIF2_EE_AD_EN_EV0_AD_EE_I_DMA_2_ERR, AIF2_EE_AD_EN_EV0_AD_EE_E_DMA_0_ERR, AIF2_EE_AD_EN_EV0_AD_EE_E_DMA_1_ERR, AIF2_EE_AD_EN_EV0_AD_EE_E_DMA_2_ERR;

AIF2_EE_AD_EN_EV1_AD_EE_I_CD_DATA_ERR, AIF2_EE_AD_EN_EV1_AD_EE_E_CD_SCH_ERR, AIF2_EE_AD_EN_EV1_AD_EE_I_DMA_0_ERR, AIF2_EE_AD_EN_EV1_AD_EE_I_DMA_1_ERR, AIF2_EE_AD_EN_EV1_AD_EE_I_DMA_2_ERR, AIF2_EE_AD_EN_EV1_AD_EE_E_DMA_0_ERR, AIF2_EE_AD_EN_EV1_AD_EE_E_DMA_1_ERR, AIF2_EE_AD_EN_EV1_AD_EE_E_DMA_2_ERR;

AIF2_EE_AD_EN_STS_EV0_AD_EE_I_CD_DATA_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_E_CD_SCH_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_I_DMA_0_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_I_DMA_1_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_I_DMA_2_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_E_DMA_0_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_E_DMA_1_ERR, AIF2_EE_AD_EN_STS_EV0_AD_EE_E_DMA_2_ERR;

AIF2_EE_AD_EN_STS_EV1_AD_EE_I_CD_DATA_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_E_CD_SCH_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_I_DMA_0_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_I_DMA_1_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_I_DMA_2_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_E_DMA_0_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_E_DMA_1_ERR, AIF2_EE_AD_EN_STS_EV1_AD_EE_E_DMA_2_ERR; Example

        CSL_Aif2EeAdInt  AdInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeAdIntStatus(hAif2,&AdInt);
     
===========================================================================

static void CSL_aif2GetEeAif2Origination ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeOrigin Aif2Origin 
) [inline, static]

============================================================================
CSL_aif2GetEeAif2Origination

Description
Get Aif2 EE error or alarm origination status

Arguments

           hAif2      Handle to the aif2 instance    
           CSL_Aif2EeOrigin     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A0, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B0, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A1, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B1, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A2, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B2, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A3, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B3, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A4, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B4, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A5, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B5, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_A0, AIF2_EE_ERR_ALRM_ORGN_LK_EN_STS_B0, AIF2_EE_ERR_ALRM_ORGN_AT_EN_STS,AIF2_EE_ERR_ALRM_ORGN_SD_EN_STS, AIF2_EE_ERR_ALRM_ORGN_DB_EN_STS,AIF2_EE_ERR_ALRM_ORGN_AD_EN_STS, AIF2_EE_ERR_ALRM_ORGN_VC_EN_STS Example

        CSL_Aif2EeOrigin  Aif2Origin;
        
        CSL_aif2GetEeAif2Origination(hAif2,&Aif2Origin);
     
===========================================================================

static void CSL_aif2GetEeAif2RunStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeAif2Run Aif2Run 
) [inline, static]

============================================================================
CSL_aif2GetEeAif2RunStatus

Description
Get Aif2 EE AIF2 run status value

Arguments

           hAif2      Handle to the aif2 instance    
           CSL_Aif2EeAif2Run     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_AIF2_RUN_STS_AIF2_PHY_RUN, AIF2_EE_AIF2_RUN_STS_AIF2_GLOBAL_RUN;

Example

        CSL_Aif2EeAif2Run  Aif2Run;
        
        CSL_aif2GetEeAif2RunStatus(hAif2,&Aif2Run);
     
===========================================================================

static void CSL_aif2GetEeAtIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeAtInt AtInt 
) [inline, static]

============================================================================
CSL_aif2GetEeAtIntStatus

Description
Get Aif2 EE AT interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeAtInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_SYS_RCVD_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_RP3_RCVD_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_TOD_RCVD_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_UNSEL_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_SPARE_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_TYPE_RSVD_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_BIT_WIDTH_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_CRC_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_RP3_ERR, AIF2_EE_AT_IRS_AT_EE_RP1_SYS_ERR, AIF2_EE_AT_IRS_AT_EE_PI0_ERR,AIF2_EE_AT_IRS_AT_EE_PI1_ERR,AIF2_EE_AT_IRS_AT_EE_PI2_ERR, AIF2_EE_AT_IRS_AT_EE_PI3_ERR,AIF2_EE_AT_IRS_AT_EE_PI4_ERR,AIF2_EE_AT_IRS_AT_EE_PI5_ERR, AIF2_EE_AT_IRS_AT_EE_PHYT_SYNC_ERR, AIF2_EE_AT_IRS_AT_EE_RADT_SYNC_ERR;

AIF2_EE_AT_EN_EV0_AT_EE_RP1_TYPE_SYS_RCVD_ERR, AIF2_EE_AT_EN_EV0_AT_EE_RP1_TYPE_RP3_RCVD_ERR, AIF2_EE_AT_EN_EV0_AT_EE_RP1_TYPE_TOD_RCVD_ERR, AIF2_EE_AT_EN_EV0_AT_EE_RP1_TYPE_UNSEL_ERR, AIF2_EE_AT_EN_EV0_AT_EE_RP1_TYPE_SPARE_ERR, AIF2_EE_AT_EN_EV0_AT_EE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R, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_TYPE_SPARE_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_TYPE_RSVD_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_BIT_WIDTH_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_CRC_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_RP3_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RP1_SYS_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_PI0_ERR,AIF2_EE_AT_EN_STS_EV1_AT_EE_PI1_ERR,AIF2_EE_AT_EN_STS_EV1_AT_EE_PI2_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_PI3_ERR,AIF2_EE_AT_EN_STS_EV1_AT_EE_PI4_ERR,AIF2_EE_AT_EN_STS_EV1_AT_EE_PI5_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_PHYT_SYNC_ERR, AIF2_EE_AT_EN_STS_EV1_AT_EE_RADT_SYNC_ERR; Example

        CSL_Aif2EeAtInt  AtInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeAtIntStatus(hAif2,&AtInt);
     
===========================================================================

static void CSL_aif2GetEeCdIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeCdInt CdInt 
) [inline, static]

============================================================================
CSL_aif2GetEeCdIntStatus

Description
Get Aif2 EE CD(PKTDMA) interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeCdInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_CD_IRS_CD_EE_SOP_DESC_STARVE_ERR, AIF2_EE_CD_IRS_CD_EE_MOP_DESC_STARVE_ERR;

AIF2_EE_CD_EN_EV_CD_EE_SOP_DESC_STARVE_ERR, AIF2_EE_CD_EN_EV_CD_EE_MOP_DESC_STARVE_ERR;

AIF2_EE_CD_EN_STS_EV_CD_EE_SOP_DESC_STARVE_ERR, AIF2_EE_CD_EN_STS_EV_CD_EE_MOP_DESC_STARVE_ERR;

Example

        CSL_Aif2EeCdInt  CdInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeCdIntStatus(hAif2,&CdInt);
     
===========================================================================

static void CSL_aif2GetEeDbIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeDbInt DbInt 
) [inline, static]

============================================================================
CSL_aif2GetEeDbIntStatus

Description
Get Aif2 EE DB interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeDbInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_DB_IRS_DB_EE_I_TRC_RAM_OVFL_ERR, AIF2_EE_DB_IRS_DB_EE_I_TOKEN_OVFL_ERR, AIF2_EE_DB_IRS_DB_EE_I_FIFO_OVFL_ERR, AIF2_EE_DB_IRS_DB_EE_I_PD2DB_FULL_ERR, AIF2_EE_DB_IRS_DB_EE_E_PS_AXC_ERR, AIF2_EE_DB_IRS_DB_EE_E_CD_DATA_ERR, AIF2_EE_DB_IRS_DB_EE_E_CD_DATA_TYPE_ERR;

AIF2_EE_DB_EN_EV0_DB_EE_I_TRC_RAM_OVFL_ERR, AIF2_EE_DB_EN_EV0_DB_EE_I_TOKEN_OVFL_ERR, AIF2_EE_DB_EN_EV0_DB_EE_I_FIFO_OVFL_ERR, AIF2_EE_DB_EN_EV0_DB_EE_I_PD2DB_FULL_ERR, AIF2_EE_DB_EN_EV0_DB_EE_E_PS_AXC_ERR, AIF2_EE_DB_EN_EV0_DB_EE_E_CD_DATA_ERR, AIF2_EE_DB_EN_EV0_DB_EE_E_CD_DATA_TYPE_ERR;

AIF2_EE_DB_EN_EV1_DB_EE_I_TRC_RAM_OVFL_ERR, AIF2_EE_DB_EN_EV1_DB_EE_I_TOKEN_OVFL_ERR, AIF2_EE_DB_EN_EV1_DB_EE_I_FIFO_OVFL_ERR, AIF2_EE_DB_EN_EV1_DB_EE_I_PD2DB_FULL_ERR, AIF2_EE_DB_EN_EV1_DB_EE_E_PS_AXC_ERR, AIF2_EE_DB_EN_EV1_DB_EE_E_CD_DATA_ERR, AIF2_EE_DB_EN_EV1_DB_EE_E_CD_DATA_TYPE_ERR;

AIF2_EE_DB_EN_STS_EV0_DB_EE_I_TRC_RAM_OVFL_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_I_TOKEN_OVFL_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_I_FIFO_OVFL_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_I_PD2DB_FULL_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_E_PS_AXC_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_E_CD_DATA_ERR, AIF2_EE_DB_EN_STS_EV0_DB_EE_E_CD_DATA_TYPE_ERR;

AIF2_EE_DB_EN_STS_EV1_DB_EE_I_TRC_RAM_OVFL_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_I_TOKEN_OVFL_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_I_FIFO_OVFL_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_I_PD2DB_FULL_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_E_PS_AXC_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_E_CD_DATA_ERR, AIF2_EE_DB_EN_STS_EV1_DB_EE_E_CD_DATA_TYPE_ERR; Example

        CSL_Aif2EeDbInt  DbInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeDbIntStatus(hAif2,&DbInt);
     
===========================================================================

static void CSL_aif2GetEeLinkAIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeLinkAInt LinkAInt 
) [inline, static]

============================================================================
CSL_aif2GetEeLinkAIntStatus

Description
Get Aif2 EE Link A interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function and hAif2->arg_link to select link
           CSL_Aif2EeLinkAInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_LK_IRS_A_RM_EE_SYNC_STATUS_CHANGE_ERR, AIF2_EE_LK_IRS_A_RM_EE_NUM_LOS_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_LCV_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_FRAME_BNDRY_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_BLOCK_BNDRY_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_MISSING_K28P5_ERR, AIF2_EE_LK_IRS_A_RM_EE_MISSING_K28P7_ERR, AIF2_EE_LK_IRS_A_RM_EE_K30P7_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_LOC_DET_ERR, AIF2_EE_LK_IRS_A_RM_EE_RX_FIFO_OVF_ERR, AIF2_EE_LK_IRS_A_RM_EE_RCVD_LOS_ERR, AIF2_EE_LK_IRS_A_RM_EE_RCVD_LOF_ERR, AIF2_EE_LK_IRS_A_RM_EE_RCVD_RAI_ERR, AIF2_EE_LK_IRS_A_RM_EE_RCVD_SDI_ERR, AIF2_EE_LK_IRS_A_RM_EE_LOS_ERR, AIF2_EE_LK_IRS_A_RM_EE_LOF_ERR, AIF2_EE_LK_IRS_A_RM_EE_HFNSYNC_STATE_ERR, AIF2_EE_LK_IRS_A_RM_EE_LOF_STATE_ERR, AIF2_EE_LK_IRS_A_TM_EE_FRM_MISALIGN_ERR, AIF2_EE_LK_IRS_A_TM_EE_FIFO_STARVE_ERR;

AIF2_EE_LK_EN_A_EV0_RM_EE_SYNC_STATUS_CHANGE_ERR, AIF2_EE_LK_EN_A_EV0_RM_EE_NUM_LOS_DET_ERR, AIF2_EE_L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ATE_ERR, AIF2_EE_LK_EN_STS_A_EV1_RM_EE_LOF_STATE_ERR, AIF2_EE_LK_EN_STS_A_EV1_TM_EE_FRM_MISALIGN_ERR, AIF2_EE_LK_EN_STS_A_EV1_TM_EE_FIFO_STARVE_ERR; Example

        CSL_Aif2EeLinkAInt  LinkAInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        hAif2->arg_link = 0;//link0
        
        CSL_aif2GetEeLinkAIntStatus(hAif2,&LinkAInt);
     
===========================================================================

static void CSL_aif2GetEeLinkBIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeLinkBInt LinkBInt 
) [inline, static]

============================================================================
CSL_aif2GetEeLinkBIntStatus

Description
Get Aif2 EE Link B interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function and hAif2->arg_link to select link
           CSL_Aif2EeLinkBInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_LK_IRS_B_PD_EE_EOP_ERR, AIF2_EE_LK_IRS_B_PD_EE_CRC_ERR, AIF2_EE_LK_IRS_B_PD_EE_CPRI_FRAME_ERR, AIF2_EE_LK_IRS_B_PD_EE_AXC_FAIL_ERR, AIF2_EE_LK_IRS_B_PD_EE_SOP_ERR, AIF2_EE_LK_IRS_B_PD_EE_OBSAI_FRM_ERR, AIF2_EE_LK_IRS_B_PD_EE_WR2DB_ERR, AIF2_EE_LK_IRS_B_PE_EE_MODRULE_ERR, AIF2_EE_LK_IRS_B_PE_EE_SYM_ERR, AIF2_EE_LK_IRS_B_PE_EE_MF_FIFO_OVERFLOW_ERR, AIF2_EE_LK_IRS_B_PE_EE_MF_FIFO_UNDERFLOW_ERR, AIF2_EE_LK_IRS_B_PE_EE_DB_STARVE_ERR, AIF2_EE_LK_IRS_B_PE_EE_RT_IF_ERR, AIF2_EE_LK_IRS_B_PE_EE_PKT_STARVE_ERR, AIF2_EE_L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_HDR_ERR; Example

        CSL_Aif2EeLinkBInt  LinkBInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        hAif2->arg_link = 0;//link0
        
        CSL_aif2GetEeLinkBIntStatus(hAif2,&LinkBInt);
     
===========================================================================

static void CSL_aif2GetEePdIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EePdInt PdInt 
) [inline, static]

============================================================================
CSL_aif2GetEePdIntStatus

Description
Get Aif2 EE PD common interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EePdInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_PD_COMMON_IRS_PD_EE_TS_WDOG_ERR;AIF2_EE_PD_COMMON_EN_EV0_PD_EE_TS_WDOG_ERR; AIF2_EE_PD_COMMON_EN_EV1_PD_EE_TS_WDOG_ERR;AIF2_EE_PD_COMMON_EN_STS_EV0_PD_EE_TS_WDOG_ERR; AIF2_EE_PD_COMMON_EN_STS_EV1_PD_EE_TS_WDOG_ERR; Example

        CSL_Aif2EePdInt  PdInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEePdIntStatus(hAif2,&PdInt);
     
===========================================================================

static void CSL_aif2GetEePeIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EePeInt PeInt 
) [inline, static]

============================================================================
CSL_aif2GetEePeIntStatus

Description
Get Aif2 EE PE common interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EePeInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_PE_COMMON_IRS_PE_EE_RD2DB_ERR,AIF2_EE_PE_COMMON_IRS_PE_EE_TOKEN_REQ_OVFL_ERR, AIF2_EE_PE_COMMON_IRS_PE_EE_TOKEN_WR_ERR,AIF2_EE_PE_COMMON_IRS_PE_EE_DAT_REQ_OVFL_ERR; AIF2_EE_PE_COMMON_EN_EV0_PE_EE_RD2DB_ERR,AIF2_EE_PE_COMMON_EN_EV0_PE_EE_TOKEN_REQ_OVFL_ERR, AIF2_EE_PE_COMMON_EN_EV0_PE_EE_TOKEN_WR_ERR,AIF2_EE_PE_COMMON_EN_EV0_PE_EE_DAT_REQ_OVFL_ERR; AIF2_EE_PE_COMMON_EN_EV1_PE_EE_RD2DB_ERR,AIF2_EE_PE_COMMON_EN_EV1_PE_EE_TOKEN_REQ_OVFL_ERR, AIF2_EE_PE_COMMON_EN_EV1_PE_EE_TOKEN_WR_ERR,AIF2_EE_PE_COMMON_EN_EV1_PE_EE_DAT_REQ_OVFL_ERR; AIF2_EE_PE_COMMON_EN_STS_EV0_PE_EE_RD2DB_ERR,AIF2_EE_PE_COMMON_EN_STS_EV0_PE_EE_TOKEN_REQ_OVFL_ERR, AIF2_EE_PE_COMMON_EN_STS_EV0_PE_EE_TOKEN_WR_ERR,AIF2_EE_PE_COMMON_EN_STS_EV0_PE_EE_DAT_REQ_OVFL_ERR; AIF2_EE_PE_COMMON_EN_STS_EV1_PE_EE_RD2DB_ERR,AIF2_EE_PE_COMMON_EN_STS_EV1_PE_EE_TOKEN_REQ_OVFL_ERR, AIF2_EE_PE_COMMON_EN_STS_EV1_PE_EE_TOKEN_WR_ERR,AIF2_EE_PE_COMMON_EN_STS_EV1_PE_EE_DAT_REQ_OVFL_ERR; Example

        CSL_Aif2EePeInt  PeInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEePeIntStatus(hAif2,&PeInt);
     
===========================================================================

static void CSL_aif2GetEeSdIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeSdInt SdInt 
) [inline, static]

============================================================================
CSL_aif2GetEeSdIntStatus

Description
Get Aif2 EE SD interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeSdInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_SD_IRS_SD_EE_STSPLL_B4_ERR, AIF2_EE_SD_IRS_SD_EE_STSPLL_B8_ERR;

AIF2_EE_SD_EN_EV0_SD_EE_STSPLL_B4_ERR, AIF2_EE_SD_EN_EV0_SD_EE_STSPLL_B8_ERR; AIF2_EE_SD_EN_STS_EV0_SD_EE_STSPLL_B4_ERR, AIF2_EE_SD_EN_STS_EV0_SD_EE_STSPLL_B8_ERR;

AIF2_EE_SD_EN_EV1_SD_EE_STSPLL_B4_ERR, AIF2_EE_SD_EN_EV1_SD_EE_STSPLL_B8_ERR; AIF2_EE_SD_EN_STS_EV1_SD_EE_STSPLL_B4_ERR, AIF2_EE_SD_EN_STS_EV1_SD_EE_STSPLL_B8_ERR; Example

        CSL_Aif2EeSdInt  SdInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeSdIntStatus(hAif2,&SdInt);
     
===========================================================================

static void CSL_aif2GetEeVcIntStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2EeVcInt VcInt 
) [inline, static]

============================================================================
CSL_aif2GetEeVcIntStatus

Description
Get Aif2 EE VC interrupt status value

Arguments

           hAif2      Handle to the aif2 instance     use hAif2->ee_arg to select function
           CSL_Aif2EeVcInt     
      

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_EE_VC_IRS_VC_EE_VBUS_ERR; AIF2_EE_VC_EN_EV0_VC_EE_VBUS_ERR; AIF2_EE_VC_EN_STS_EV0_VC_EE_VBUS_ERR; AIF2_EE_VC_EN_EV1_VC_EE_VBUS_ERR; AIF2_EE_VC_EN_STS_EV1_VC_EE_VBUS_ERR Example

        CSL_Aif2EeVcInt  VcInt;
        hAif2->ee_arg = CSL_AIF2_EE_INT_RAW_STATUS;
        
        CSL_aif2GetEeVcIntStatus(hAif2,&VcInt);
     
===========================================================================

static Uint32 CSL_aif2GetEgrEopCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetEgrEopCount

Description
Get Egress EOP count from DB

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_DB_EDB_EOP_CNT_EOP_CNT

Example

        Uint32  eop_cnt;
        
        eop_cnt = CSL_aif2GetEgrEopCount(hAif2);
        
     
===========================================================================

static void CSL_aif2GetInDbDebugOffsetData ( CSL_Aif2Handle  hAif2,
Uint8 *  offset 
) [inline, static]

============================================================================
CSL_aif2GetInDbDebugOffsetData

Description
Get Write and Read Offset Value at address in DB_IDB_DEBUG_OFS

Arguments

 
           hAif2            Handle to the aif2 instance     
           Uint8*          pointer to write and read offset data 
     

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_DB_IDB_DEBUG_OFS_DAT_WOFF

Example

        Uint8  offset[2];
        
        CSL_aif2GetInDbDebugOffsetData(hAif2, &offset[0]);

        Uint8 write_offset = offset[0];
        Uint8 read_offset = offset[1];
     
===========================================================================

static Uint32 CSL_aif2GetIngrEopCount ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetIngrEopCount

Description
Get Ingress EOP count

Arguments

           hAif2      Handle to the aif2 instance     
     

Return Value uint32 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AD_ISCH_EOP_CNT_EOP_CNT

Example

        Uint32  eop_cnt;
        
        eop_cnt = CSL_aif2GetIngrEopCount(hAif2);
        
     
===========================================================================

static void CSL_aif2GetPdChannelStatus ( CSL_Aif2Handle  hAif2,
Uint32 *  ChanStat 
) [inline, static]

============================================================================
CSL_aif2GetPdChannelStatus

Description
This function get PD 128 Channel Status.

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           Uint32*       Pointer to the PD channel Status instance.       
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_PD_CHAN_STS_CHAN_ON

Example

         Uint32     PdChanStat[4];
         
        CSL_aif2GetPdChannelStatus (hAif2, &PdChanStat);
     
===========================================================================

static void CSL_aif2GetPdPacketStatus ( CSL_Aif2Handle  hAif2,
Uint32 *  PacketStat 
) [inline, static]

============================================================================
CSL_aif2GetPdPacketStatus

Description
This function get PD packet status for 128 Channels.

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           Uint32*       Pointer to the PD packet Status instance. bit 0: out packet  bit 1: in packet       
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_PD_PKT_STS_CHAN_PKT

Example

         Uint32     PdPacketStat[4];
         
        CSL_aif2GetPdPacketStatus (hAif2, &PdPacketStat);
     
===========================================================================

static void CSL_aif2GetPeChannelStatus ( CSL_Aif2Handle  hAif2,
Uint32 *  ChanStat 
) [inline, static]

============================================================================
CSL_aif2GetPeChannelStatus

Description
This function get PE 128 Channel Status.

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           Uint32*       Pointer to the PE channel Status instance.       
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_PE_CHAN_STS_CHAN_ON_STS

Example

         Uint32     PeChanStat[4];
         
        CSL_aif2GetPeChannelStatus (hAif2, &PeChanStat);
     
===========================================================================

static void CSL_aif2GetPePacketStatus ( CSL_Aif2Handle  hAif2,
Uint32 *  PacketStat 
) [inline, static]

============================================================================
CSL_aif2GetPePacketStatus

Description
This function get PE packet status for 128 Channels.

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           Uint32*       Pointer to the PE packet Status instance. bit 0: out packet  bit 1: in packet       
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_PE_PKT_STS_PKT_STS

Example

         Uint32     PePacketStat[4];
         
        CSL_aif2GetPePacketStatus (hAif2, &PePacketStat);
     
===========================================================================

static void CSL_aif2GetRmLinkStatus0 ( CSL_Aif2Handle  hAif2,
CSL_Aif2RmStatus0 pRmStat 
) [inline, static]

============================================================================
CSL_aif2GetRmLinkStatus0

Description
This function gets the RM link Status 0

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           CSL_Aif2RmStatus0       Pointer to the RM link Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RM_LK_STS0_SYNC_STATUS,AIF2_RM_LK_STS0_LOS,AIF2_RM_LK_STS0_NUM_LOS_DET, AIF2_RM_LK_STS0_LOC,AIF2_RM_LK_STS0_FIFO_OVF

Example

         CSL_Aif2RmStatus0     RmStat;
         hAif2->arg_link = 1; //get link1 status
        CSL_aif2GetRmLinkStatus0 (hAif2, &RmStat);
     
===========================================================================

static void CSL_aif2GetRmLinkStatus1 ( CSL_Aif2Handle  hAif2,
CSL_Aif2RmStatus1 pRmStat 
) [inline, static]

============================================================================
CSL_aif2GetRmLinkStatus1

Description
This function gets the RM link Status 1

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           CSL_Aif2RmStatus1       Pointer to the RM link Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RM_LK_STS1_NUM_LOS,AIF2_RM_LK_STS1_LCV_CNTR_VALUE

Example

         CSL_Aif2RmStatus1     RmStat;
         hAif2->arg_link = 1; //get link1 status
        CSL_aif2GetRmLinkStatus1 (hAif2, &RmStat);
     
===========================================================================

static void CSL_aif2GetRmLinkStatus2 ( CSL_Aif2Handle  hAif2,
CSL_Aif2RmStatus2 pRmStat 
) [inline, static]

============================================================================
CSL_aif2GetRmLinkStatus2

Description
This function gets the RM link Status 2

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           CSL_Aif2RmStatus2       Pointer to the RM link Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RM_LK_STS2_CLK_QUAL,AIF2_RM_LK_STS2_SCR_VALUE

Example

         CSL_Aif2RmStatus2     RmStat;
         hAif2->arg_link = 1; //get link1 status
        CSL_aif2GetRmLinkStatus2 (hAif2, &RmStat);
     
===========================================================================

static void CSL_aif2GetRmLinkStatus3 ( CSL_Aif2Handle  hAif2,
CSL_Aif2RmStatus3 pRmStat 
) [inline, static]

============================================================================
CSL_aif2GetRmLinkStatus3

Description
This function gets the RM link Status 3

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           CSL_Aif2RmStatus3       Pointer to the RM link Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RM_LK_STS3_HFN,AIF2_RM_LK_STS3_BFN_LOW,AIF2_RM_LK_STS3_BFN_HIGH, AIF2_RM_LK_STS3_HFSYNC_STATE,AIF2_RM_LK_STS3_LOF_STATE

Example

         CSL_Aif2RmStatus3     RmStat;
         hAif2->arg_link = 1; //get link1 status
        CSL_aif2GetRmLinkStatus3 (hAif2, &RmStat);
     
===========================================================================

static void CSL_aif2GetRmLinkStatus4 ( CSL_Aif2Handle  hAif2,
CSL_Aif2RmStatus4 pRmStat 
) [inline, static]

============================================================================
CSL_aif2GetRmLinkStatus4

Description
This function gets the RM link Status 4

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           CSL_Aif2RmStatus4       Pointer to the RM link Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RM_LK_STS4_L1_VERSION,AIF2_RM_LK_STS4_L1_START_UP,AIF2_RM_LK_STS4_L1_RCVD_RST, AIF2_RM_LK_STS4_L1_RCVD_RAI,AIF2_RM_LK_STS4_L1_RCVD_SDI,AIF2_RM_LK_STS4_L1_RCVD_LOS, AIF2_RM_LK_STS4_L1_RCVD_LOF,AIF2_RM_LK_STS4_L1_PNTR_P Example

         CSL_Aif2RmStatus4     RmStat;
         hAif2->arg_link = 1; //get link1 status
        CSL_aif2GetRmLinkStatus4 (hAif2, &RmStat);
     
===========================================================================

static Uint8 CSL_aif2GetRtFifoDepthStatus ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetRtFifoDepthStatus

Description
RT Internal FIFO depth Status.

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link 
     

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_RT_LK_DPTH_RT_DEPTH

Example

        Uint8 depth;
        hAif2->arg_link = LINK1;
        depth = CSL_aif2GetRtFifoDepthStatus (hAif2);
     
===========================================================================

static void CSL_aif2GetRtHeaderStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2RtHeaderStatus pRtStat 
) [inline, static]

============================================================================
CSL_aif2GetRtHeaderStatus

Description
This function gets the Retransmitter link Status

Arguments

           hAif2      Handle to the aif2 instance. should use arg_link to select link
           pRtStat       Pointer to the retransmitter header Status instance.
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_RT_HDR_ERR_DMA_CHAN,AIF2_RT_HDR_ERR_HDR_ERR

Example

         CSL_Aif2RtHeaderStatus     RtStat;
         hAif2->arg_link = 1; //get Rt link1 status
        CSL_aif2GetRtHeaderStatus (hAif2, &RtStat);
     
===========================================================================

static void CSL_aif2GetRtLinkStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2RtStatus pRtStat 
) [inline, static]

============================================================================
CSL_aif2GetRtLinkStatus

Description
This function gets the Retransmitter link Status

Arguments


           hAif2      Handle to the aif2 instance. should use arg_link to select link
           pRtStat       Pointer to the retransmitter link Status instance.
            
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_RT_LK_STAT_RT_HDR_ERR_STS,AIF2_RT_LK_STAT_RT_EM_STS, AIF2_RT_LK_STAT_RT_UNFL_STS,AIF2_RT_LK_STAT_RT_OVFL_STS, AIF2_RT_LK_STAT_RT_FRM_ERR_STS Example

         CSL_Aif2RtStatus     RtStat;
         hAif2->arg_link = 1; //get Rt link1 status
        CSL_aif2GetRtLinkStatus (hAif2, &RtStat);
     
===========================================================================

static Uint8 CSL_aif2GetSdB4PllLock ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetSdB4PllLock

Description
This function return the status of B4 PLL lock

Arguments


           hAif2      Handle to the aif2 instance 
                       
     

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_SD_PLL_B4_STS_B4PLL_LOCK

Example

        Uint8 lock_sts;
        lock_sts = CSL_aif2GetSdB4PllLock (hAif2);
     
===========================================================================

static Uint8 CSL_aif2GetSdB8PllLock ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetSdB8PllLock

Description
This function return the status of B8 PLL lock

Arguments


           hAif2      Handle to the aif2 instance 
                       
     

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_SD_PLL_B8_STS_B8PLL_LOCK

Example

        Uint8 lock_sts;
        lock_sts = CSL_aif2GetSdB8PllLock (hAif2);
     
===========================================================================

static void CSL_aif2GetSdRxLinkStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2SdRxStatus pSdRxStat 
) [inline, static]

============================================================================
CSL_aif2GetSdRxLinkStatus

Description
This function return the status of SD Rx link status

Arguments


           hAif2      Handle to the aif2 instance
           CSL_Aif2SdRxStatus*       pSdRxStat          
     

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_SD_RX_STS_RXSYNC,AIF2_SD_RX_STS_RXLOSS_OF_SIGNAL,AIF2_SD_RX_STS_RXOFFSET_COMPENSATION, AIF2_SD_RX_STS_RXSIGNAL_UNDEREQUALIZED,AIF2_SD_RX_STS_RXSIGNAL_OVEREQUALIZED, AIF2_SD_RX_STS_RXBUS_BANDWIDTH,AIF2_SD_RX_STS_RXTEST_FAILURE Example

        CSL_Aif2SdRxStatus       SdRxStat;
        .....
        CSL_aif2GetSdRxLinkStatus (hAif2, &SdRxStat );
     
===========================================================================

static void CSL_aif2GetSdTxLinkStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2SdTxStatus pSdTxStat 
) [inline, static]

============================================================================
CSL_aif2GetSdTxLinkStatus

Description
This function return the status of SD Tx link status

Arguments


           hAif2      Handle to the aif2 instance
           CSL_Aif2SdTxStatus*       pSdTxStat          
     

Return Value void Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_SD_TX_STS_TXBUS_BANDWIDTH,AIF2_SD_TX_STS_TXTEST_FAILURE

Example

        CSL_Aif2SdTxStatus       SdTxStat;
        .....
        CSL_aif2GetSdTxLinkStatus (hAif2, &SdTxStat );
     
===========================================================================

static Uint8 CSL_aif2GetTmCpriHfnStatus ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetTmCpriHfnStatus

Description
This function return the status of TM CPRI HFN status

Arguments


           hAif2      Handle to the aif2 instance. should use arg_link to select link 
                       
     

Return Value Uint8 Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_TM_LK_HFN_HFN

Example

        Uint8 hfn_sts;
        hAif2->arg_link = LINK1;
        hfn_sts = CSL_aif2GetTmCpriHfnStatus (hAif2);
     
===========================================================================

static void CSL_aif2GetTmLinkStatus ( CSL_Aif2Handle  hAif2,
CSL_Aif2TmStatus pTmStat 
) [inline, static]

============================================================================
CSL_aif2GetTmLinkStatus

Description
This function gets the TM link Status

Arguments


           hAif2      Handle to the aif2 instance. should use arg_link to select link
           pTmStat       Pointer to the TM link Status instance.
            
     

Return Value None Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.


None

Post Condition
None

Reads
AIF2_TM_LK_STAT_TM_FAIL,AIF2_TM_LK_STAT_FIFO_UNFL, AIF2_TM_LK_STAT_FRM_MISALIGN,AIF2_TM_LK_STAT_FRM_STATE

Example

         CSL_Aif2TmStatus     TmStat;
         hAif2->arg_link = 1; //get Tm link1 status
        CSL_aif2GetTmLinkStatus (hAif2, &TmStat);
     
===========================================================================

static Bool CSL_aif2GetVcStat ( CSL_Aif2Handle  hAif2  )  [inline, static]

============================================================================
CSL_aif2GetVcStat

Description
This function return the status of VC emu status

Arguments


           hAif2      Handle to the aif2 instance 
                       
     

Return Value Bool Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_VC_STAT_EMU_HALT

Example

        Bool emu_sts;
        emu_sts = CSL_aif2GetVcStat (hAif2);
     
===========================================================================

static void CSL_aif2GetVersion ( CSL_Aif2Handle  hAif2,
CSL_Aif2PidStatus version 
) [inline, static]

============================================================================
CSL_aif2GetVersion

Description
This function returns AIF2 version

Arguments


            hAif2        Handle to the aif2 instance
            version     Pointer to get the version instance.

     

Return Value None

Pre Condition
Both CSL_aif2Init() and CSL_aif2Open() must be called successfully in that order before calling this function.

Post Condition
None

Reads
AIF2_AIF2_PID_MINOR,AIF2_AIF2_PID_CUSTOM,AIF2_AIF2_PID_MAJOR, AIF2_AIF2_PID_RTL,AIF2_AIF2_PID_FUNC,AIF2_AIF2_PID_SCHEME Example

        CSL_Aif2PidStatus   version;
        CSL_aif2GetVersion (hAif2,  &version);
     
===========================================================================


Copyright 2011, Texas Instruments Incorporated