csl_tsipAux.h File Reference

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

#include <ti/csl/csl_tsip.h>

Functions

CSL_IDEF_INLINE Uint32 CSL_tsipGetPid (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipEmutstSetTestMode (CSL_TsipHandle hTsip, Bool testMode)
CSL_IDEF_INLINE void CSL_tsipEmutstSelectTestMode (CSL_TsipHandle hTsip, Bool testModeSelect)
CSL_IDEF_INLINE void CSL_tsipResetSIU (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipResetTDMU_DMATCU (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetClockRedundancy (CSL_TsipHandle hTsip, Bool dualClockMode)
CSL_IDEF_INLINE Bool CSL_tsipSIUGetClockRedundancy (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUEnableReceive (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUDisableReceive (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Bool CSL_tsipSIUIsReceiveEnabled (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUEnableTransmit (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUDisableTransmit (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Bool CSL_tsipSIUIsTransmitEnabled (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxClockSource (CSL_TsipHandle hTsip, Uint8 clockSource)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxClockSource (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxDataDelay (CSL_TsipHandle hTsip, Uint16 txDataDelay)
CSL_IDEF_INLINE Uint16 CSL_tsipSIUGetTxDataDelay (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxOutputDelay (CSL_TsipHandle hTsip, Uint8 txOutputDelay)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxOutputDelay (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxDisabledState (CSL_TsipHandle hTsip, Uint8 txDisabledState)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxDisabledState (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxFrameSyncPolarity (CSL_TsipHandle hTsip, Uint8 txFrameSyncPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxFrameSyncPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxFrameSyncClockPolarity (CSL_TsipHandle hTsip, Uint8 txFrameSyncClockPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxFrameSyncClockPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxDataClockPolarity (CSL_TsipHandle hTsip, Uint8 txDataClkPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxDataClockPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxDataRate (CSL_TsipHandle hTsip, Uint8 txDataRate)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxDataRate (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxClockMode (CSL_TsipHandle hTsip, Uint8 txClockMode)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxClockMode (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxFrameCount (CSL_TsipHandle hTsip, Uint8 txFrameCount)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxFrameCount (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetTxFrameSize (CSL_TsipHandle hTsip, Uint8 txFrameSize)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetTxFrameSize (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxClockSource (CSL_TsipHandle hTsip, Uint8 clockSource)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxClockSource (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxDataDelay (CSL_TsipHandle hTsip, Uint16 rxDataDelay)
CSL_IDEF_INLINE Uint16 CSL_tsipSIUGetRxDataDelay (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxFrameSyncPolarity (CSL_TsipHandle hTsip, Uint8 rxFrameSyncPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxFrameSyncPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxFrameSyncClockPolarity (CSL_TsipHandle hTsip, Uint8 rxFrameSyncClockPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxFrameSyncClockPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxDataClockPolarity (CSL_TsipHandle hTsip, Uint8 rxDataClockPolarity)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxDataClockPolarity (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxDataRate (CSL_TsipHandle hTsip, Uint8 rxDataRate)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxDataRate (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxClockMode (CSL_TsipHandle hTsip, Uint8 rxClockMode)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxClockMode (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxFrameSize (CSL_TsipHandle hTsip, Uint8 rxFrameSize)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxFrameSize (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipSIUSetRxFrameCount (CSL_TsipHandle hTsip, Uint8 rxFrameCount)
CSL_IDEF_INLINE Uint8 CSL_tsipSIUGetRxFrameCount (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipTDMUDisable (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipTDMUEnable (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Bool CSL_tsipTDMUIsEnabled (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Uint32 CSL_tsipTDMUGetTxFreeRunningCounter (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Uint32 CSL_tsipTDMUGetRxFreeRunningCounter (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipTDMUSetEndianess (CSL_TsipHandle hTsip, Uint8 endian)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUGetEndianess (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUGetTxChannelBitmapStatus (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUGetRxChannelBitmapStatus (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetMaxTransferPriority (CSL_TsipHandle hTsip, Uint8 maxPriority)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetMaxTransferPriority (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetTransferPriority (CSL_TsipHandle hTsip, Uint8 priority)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetTransferPriority (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetTxSuperFrameIntSelection (CSL_TsipHandle hTsip, Uint8 txSFIntSelection)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetTxSuperFrameIntSelection (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetTxFrameIntSelection (CSL_TsipHandle hTsip, Uint8 txIntSelection)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetTxFrameIntSelection (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetTxFrameIntDelay (CSL_TsipHandle hTsip, Uint8 txIntDelay)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetTxFrameIntDelay (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetRxSuperFrameIntSelection (CSL_TsipHandle hTsip, Uint8 rxSFIntSelection)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetRxSuperFrameIntSelection (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetRxFrameIntSelection (CSL_TsipHandle hTsip, Uint8 rxIntSelection)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetRxFrameIntSelection (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE void CSL_tsipDMATCUSetRxFrameIntDelay (CSL_TsipHandle hTsip, Uint8 rxIntDelay)
CSL_IDEF_INLINE Uint8 CSL_tsipDMATCUGetRxFrameIntDelay (CSL_TsipHandle hTsip)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUGetTxChannelStatus (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUGetRxChannelStatus (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUChannelClearOverflowError (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUChannelClearErrorQueue (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUChannelPopErrorEntry (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUChannelGetErrorCount (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Bool CSL_tsipTDMUChannelIsErrorQueueOverflow (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUChannelGetErrorCodeInfo (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint8 *errCode, Uint32 *errInfo)
CSL_IDEF_INLINE void CSL_tsipTDMUTxChannelEnable (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUTxChannelDisable (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Bool CSL_tsipTDMUIsTxChannelEnabled (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUTxChannelSetConfiguration (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint8 cfgInfo)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMUTxChannelGetConfiguration (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMURxChannelEnable (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMURxChannelDisable (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE Bool CSL_tsipTDMUIsRxChannelEnabled (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMURxChannelSetConfiguration (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint8 cfgInfo)
CSL_IDEF_INLINE Uint8 CSL_tsipTDMURxChannelGetConfiguration (CSL_TsipHandle hTsip, Uint8 channelNumber)
CSL_IDEF_INLINE void CSL_tsipTDMUSetTxChannelAConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 memoryBaseAddress, Uint16 frameAllocation, Uint16 frameSize, Uint8 frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUGetTxChannelAConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 *memoryBaseAddress, Uint16 *frameAllocation, Uint16 *frameSize, Uint8 *frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUSetTxChannelBConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 memoryBaseAddress, Uint16 frameAllocation, Uint16 frameSize, Uint8 frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUGetTxChannelBConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 *memoryBaseAddress, Uint16 *frameAllocation, Uint16 *frameSize, Uint8 *frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUSetRxChannelAConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 memoryBaseAddress, Uint16 frameAllocation, Uint16 frameSize, Uint8 frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUGetRxChannelAConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 *memoryBaseAddress, Uint16 *frameAllocation, Uint16 *frameSize, Uint8 *frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUSetRxChannelBConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 memoryBaseAddress, Uint16 frameAllocation, Uint16 frameSize, Uint8 frameCount)
CSL_IDEF_INLINE void CSL_tsipTDMUGetRxChannelBConfig (CSL_TsipHandle hTsip, Uint8 channelNumber, Uint32 *memoryBaseAddress, Uint16 *frameAllocation, Uint16 *frameSize, Uint8 *frameCount)

Detailed Description

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

============================================================================
(C) Copyright 2008, 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