![]() |
PDK API Guide for J721E
|
Header file containing various enumerations, structure definitions and function.
(C) Copyright 2019-2020, 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 Incorposlv_toged 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.
Go to the source code of this file.
Timeout interrupt sources | |
This enumerator defines the possible timeout interrupt sources | |
| #define | CSL_SLV_TOG_INTRSRC_TRANSACTION_TIMEOUT ((uint32_t) 1U<<0) |
| #define | CSL_SLV_TOG_INTRSRC_UNEXPECTED_RESPONSE ((uint32_t) 1U<<1) |
| #define | CSL_SLV_TOG_INTRSRC_COMMAND_TIMEOUT ((uint32_t) 1U<<2) |
| #define | CSL_SLV_TOG_INTRSRC_ALL (CSL_SLV_TOG_INTRSRC_TRANSACTION_TIMEOUT | CSL_SLV_TOG_INTRSRC_UNEXPECTED_RESPONSE | CSL_SLV_TOG_INTRSRC_COMMAND_TIMEOUT) |
| typedef uint32_t | CSL_SlvTogIntrSrc |
Data Structures | |
| struct | CSL_SlvTogErrInfo |
| This structure contains timeout error information. More... | |
| struct | CSL_SlvTog_staticRegs |
| Slave TOG Static Registers. More... | |
Functions | |
| int32_t | CSL_slvTogGetRevision (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pRev) |
| Get module revision information. More... | |
| int32_t | CSL_slvTogGetCfg (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pTotalReads, uint32_t *pTotalWrites) |
| Get module configuration information. More... | |
| int32_t | CSL_slvTogGetStatus (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pCurrReads, uint32_t *pCurrWrites) |
| Get module status information. More... | |
| int32_t | CSL_slvTogGetErrInfo (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogErrInfo *pErrInfo) |
| Get timeout error information. More... | |
| int32_t | CSL_slvTogGetIntrPending (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pPendInts) |
| Get masked (enabled) pending interrupt sources. More... | |
| int32_t | CSL_slvTogGetRawIntrPending (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pRawPendInts) |
| Get raw pending interrupt sources. More... | |
| int32_t | CSL_slvTogSetIntrPending (CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrcs) |
| Set interrupt source(s) More... | |
| int32_t | CSL_slvTogClrIntrPending (CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrcs) |
| Clear pending interrupt source(s) More... | |
| int32_t | CSL_slvTogSetIntrEnable (CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrcs, bool bEnable) |
| Enable/disable interrupt source(s) More... | |
| int32_t | CSL_slvTogVerifyIntrEnable (CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrcs, bool bEnable) |
| Verify Enable/disable interrupt source(s) More... | |
| int32_t | CSL_slvTogGetIntrCount (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrc, uint32_t *pIntrCnt) |
| Get interrupt count. More... | |
| int32_t | CSL_slvTogAckIntr (CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTogIntrSrc intrSrc, uint32_t ackCnt) |
| Ack interrupt source. More... | |
| int32_t | CSL_slvTogSetTimeoutVal (CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t timeoutVal) |
| Set the timeout value. More... | |
| int32_t | CSL_slvTogVerifyTimeoutVal (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t timeoutVal) |
| Verify the set timeout value. More... | |
| int32_t | CSL_slvTogStart (CSL_ksbus_vbusm_to_gasketRegs *pRegs) |
| Start the timer counter. More... | |
| int32_t | CSL_slvTogStop (CSL_ksbus_vbusm_to_gasketRegs *pRegs) |
| Stop the timer counter. More... | |
| int32_t | CSL_slvTogReset (CSL_ksbus_vbusm_to_gasketRegs *pRegs) |
| Reset the timeout functionality. More... | |
| int32_t | CSL_slvTogGetCurrTimerCnt (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, uint32_t *pTimerCnt) |
| Get the current timer count value. More... | |
| int32_t | CSL_slvTogSetFlushModeEnable (CSL_ksbus_vbusm_to_gasketRegs *pRegs, bool bEnable) |
| Enable/disable flush mode. More... | |
| int32_t | CSL_slvTogVerifyFlushModeEnable (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, bool bEnable) |
| Verify Enable/disable flush mode. More... | |
| int32_t | CSL_slvTogReadBackStaticRegisters (const CSL_ksbus_vbusm_to_gasketRegs *pRegs, CSL_SlvTog_staticRegs *pStaticRegs) |
| Readback Static configuration registers. More... | |