# csl_emif4fAux.h File Reference

This is the EMIF4F Auxilary Header File which exposes the various CSL Functional Layer API's to configure the EMIF4F Module. More...

`#include <ti/csl/csl_emif4f.h>`

## Functions
CSL_IDEF_INLINE void | CSL_EMIF4F_GetModuleInfo (Uint8 *moduleID, Uint8 *rtlInfo, Uint8 *majRev, Uint8 *minRev)
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsBigEndian ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsAsynchronous ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsFastInit ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsReadDQSGateTrainingTimeout ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsReadDataEyeTrainingTimeout ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsWriteLevelingTimeout ()
CSL_IDEF_INLINE Bool | CSL_EMIF4F_IsDDRPhyRead ()
CSL_IDEF_INLINE void | CSL_EMIF4F_GetSDRAMConfig (EMIF4F_SDRAM_CONFIG *ptrConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetSDRAMConfig (EMIF4F_SDRAM_CONFIG *ptrConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_DisableInitRefresh (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_EnableInitRefresh (void)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetSelfRefreshTemp (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetSelfRefreshTemp (Uint8 temperature)
CSL_IDEF_INLINE void | CSL_EMIF4F_EnableAutoRefresh (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_DisableAutoRefresh (void)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetPartialArraySelfRefresh (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPartialArraySelfRefresh (Uint8 pasr)
CSL_IDEF_INLINE Uint16 | CSL_EMIF4F_GetRefreshRate (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetRefreshRate (Uint16 refreshRate)
CSL_IDEF_INLINE Uint16 | CSL_EMIF4F_GetShadowRefreshRate (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowRefreshRate (Uint16 refreshRate)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetTiming1Config (EMIF4F_TIMING1_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetTiming1Config (EMIF4F_TIMING1_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowTiming1Config (EMIF4F_TIMING1_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowTiming1Config (EMIF4F_TIMING1_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetTiming2Config (EMIF4F_TIMING2_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetTiming2Config (EMIF4F_TIMING2_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowTiming2Config (EMIF4F_TIMING2_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowTiming2Config (EMIF4F_TIMING2_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetTiming3Config (EMIF4F_TIMING3_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetTiming3Config (EMIF4F_TIMING3_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowTiming3Config (EMIF4F_TIMING3_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowTiming3Config (EMIF4F_TIMING3_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetLPDDR2NVMTimingConfig (EMIF4F_LPDDR2NVM_TIMING_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLPDDR2NVMTimingConfig (EMIF4F_LPDDR2NVM_TIMING_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowLPDDR2NVMTimingConfig (EMIF4F_LPDDR2NVM_TIMING_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowLPDDR2NVMTimingConfig (EMIF4F_LPDDR2NVM_TIMING_CONFIG *ptrTimingConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPowerMgmtConfig (EMIF4F_PWR_MGMT_CONFIG *ptrPwrMgmtConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPowerMgmtConfig (EMIF4F_PWR_MGMT_CONFIG *ptrPwrMgmtConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowPowerMgmtConfig (EMIF4F_PWR_MGMT_CONFIG *ptrPwrMgmtConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowPowerMgmtConfig (EMIF4F_PWR_MGMT_CONFIG *ptrPwrMgmtConfig)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetLPDDR2Mode (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLPDDR2Mode (Uint8 mode)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetLPDDR2ConfigCS (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLPDDR2ConfigCS (Uint8 chipSelect)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetLPDDR2ConfigRefreshEnable (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLPDDR2ConfigRefreshEnable (Uint8 refreshEnable)
CSL_IDEF_INLINE Uint8 | CSL_EMIF4F_GetLPDDR2ConfigModeRegAddress (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLPDDR2ConfigModeRegAddress (Uint8 modeRegAddr)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetVBUSConfig (Uint8 *cosCount1, Uint8 *cosCount2, Uint8 *prOldCount)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetVBUSConfig (Uint8 cosCount1, Uint8 cosCount2, Uint8 prOldCount)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetVBUSConfigValues (EMIF4F_VBUS_CONFIG_VALUE *ptrVBUSConfigValue)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIODFTControl (EMIF4F_IODFT_CONTROL *ptrIODFTControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetIODFTControl (EMIF4F_IODFT_CONTROL *ptrIODFTControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIODFTControlResults (Uint16 *dqmTLMRResults, Uint16 *ctlTLMRResults)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIODFTAddrResults (Uint32 *addrTLMRResults)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIODFTDataResults (Uint32 *dataTLMRResults1, Uint32 *dataTLMRResults2, Uint32 *dataTLMRResults3, Uint32 *dataTLMRResults4, Uint32 *dataTLMRResults5)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPerfCounters (Uint32 *perfCounter1, Uint32 *perfCounter2)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPerfCounterConfig (Uint8 counter, EMIF4F_PERF_CONFIG *ptrPerfCounterConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPerfCounterConfig (Uint8 counter, EMIF4F_PERF_CONFIG *ptrPerfCounterConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPerfCounterMasterRegion (Uint8 counter, Uint8 *mstID, Uint8 *regionSel)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPerfCounterMasterRegion (Uint8 counter, Uint8 mstID, Uint8 regionSel)
CSL_IDEF_INLINE Uint32 | CSL_EMIF4F_GetPerfCounterTime (void)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIdleControl (Uint8 *idleLen, Uint16 *idleInterval)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetIdleControl (Uint8 idleLen, Uint16 idleInterval)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetIdleControlShadow (Uint8 *idleLen, Uint16 *idleInterval)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetIdleControlShadow (Uint8 idleLen, Uint16 idleInterval)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetInterruptRawStatus (Uint8 *rawStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetInterruptRawStatus (Uint8 rawStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetInterruptStatus (Uint8 *intrStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_ClearInterruptStatus (Uint8 intrStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_EnableInterrupts (Uint8 intrStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_DisableInterrupts (Uint8 intrStatus)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetOutputImpedanceConfig (EMIF4F_OUTPUT_IMP_CONFIG *ptrOutputImpedanceConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetOutputImpedanceConfig (EMIF4F_OUTPUT_IMP_CONFIG *ptrOutputImpedanceConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetTempAlertConfig (EMIF4F_TEMP_ALERT_CONFIG *ptrTempAlertConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetTempAlertConfig (EMIF4F_TEMP_ALERT_CONFIG *ptrTempAlertConfig)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetErrorLog (Uint8 *errCRSel, Uint8 *errAddMode, Uint8 *errCmdType, Uint8 *errMstID)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetLevelingRampWindow (Uint16 *lvlRampWindow)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLevelingRampWindow (Uint16 lvlRampWindow)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetLevelingRampControlInfo (Bool *enable, Uint8 *preScalar, Uint8 *readDataEye, Uint8 *readDQS, Uint8 *writeInt)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLevelingRampControlInfo (Bool enable, Uint8 preScalar, Uint8 readDataEye, Uint8 readDQS, Uint8 writeInt)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetLevelingControlInfo (Uint8 *trigger, Uint8 *preScalar, Uint8 *readDataEye, Uint8 *readDQS, Uint8 *writeInt)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetLevelingControlInfo (Uint8 trigger, Uint8 preScalar, Uint8 readDataEye, Uint8 readDQS, Uint8 writeInt)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPhyControl (Uint32 *ddrPHYControl, Uint8 *ddrPHYReadLatency)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPhyControl (Uint32 ddrPHYControl, Uint8 ddrPHYReadLatency)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetShadowPhyControl (Uint32 *ddrPHYControl, Uint8 *ddrPHYReadLatency)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetShadowPhyControl (Uint32 ddrPHYControl, Uint8 ddrPHYReadLatency)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPhyControl2 (Uint32 *ddrPHYControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPhyControl2 (Uint32 ddrPHYControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetPriorityToCOSMapping (EMIF4_PRI_COS_MAPPING *ptrPriCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetPriorityToCOSMapping (EMIF4_PRI_COS_MAPPING *ptrPriCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetMstIDToCos1Mapping (EMIF4_MSTID_COS_MAPPING *ptrMstIDCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetMstIDToCos1Mapping (EMIF4_MSTID_COS_MAPPING *ptrMstIDCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetMstIDToCos2Mapping (EMIF4_MSTID_COS_MAPPING *ptrMstIDCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetMstIDToCos2Mapping (EMIF4_MSTID_COS_MAPPING *ptrMstIDCosMapper)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetECCControl (EMIF4_ECC_CONTROL *ptrECCControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetECCControl (EMIF4_ECC_CONTROL *ptrECCControl)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetECCAddressRange (Uint8 range, Uint16 *endAddr, Uint16 *startAddr)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetECCAddressRange (Uint8 range, Uint16 endAddr, Uint16 startAddr)
CSL_IDEF_INLINE void | CSL_EMIF4F_GetReadWriteThreshold (Uint8 *wrThreshold, Uint8 *rdThreshold)
CSL_IDEF_INLINE void | CSL_EMIF4F_SetReadWriteThreshold (Uint8 wrThreshold, Uint8 rdThreshold)

## Detailed Description

This is the EMIF4F Auxilary Header File which exposes the various CSL Functional Layer API's to configure the EMIF4F Module.

  ============================================================================
  (C) Copyright 2009, Texas Instruments, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright 2012, Texas Instruments Incorporated