CC35xxDriverLibrary
xip.c File Reference
#include "xip.h"
#include "debug.h"
Include dependency graph for xip.c:

Macros

#define XIP_UDMA_SEC_CH_OFFSET   0
 UDMA secure channel offset. More...
 
#define XIP_UDMA_NONSEC_CH_OFFSET   HOST_XIP_O_UDNSCFG0 - HOST_XIP_O_UDSCFG0
 UDMA non-secure channel offset, in bytes. More...
 
#define XIP_UDMA_MAX_JOB_SIZE   HOST_XIP_UDSCFG2_JLEN_M
 UDMA Maximum configurable job size, in words. More...
 
#define XIP_UDMA_JOB_CONFIGURED   HOST_XIP_UDSSTA_JSTA
 Status bit to indicate that DMA is processing (secure and non-secure) More...
 
#define XIP_UDMA_NO_JOB_CONFIGURED   0
 
#define XIP_OTFDE_DISABLE_M   HOST_XIP_OTSTA_ACTIVESTA_M | HOST_XIP_OTSTA_TASKSUS
 
#define XIP_OTFDE_DISABLE   0
 

Functions

uint32_t XIPStartUDMATransaction (const uint32_t *srcAddr, uint32_t *dstAddr, uint32_t length, uint8_t directionMode, uint32_t channelSelect)
 Configure the relevant channel and start a uDMA transaction. More...
 
uint32_t XIPGetUDMAChannelProgressingStatus (uint32_t channelSelect)
 Return the channel progressing status. More...
 
uint32_t XIPGetUDMAChannelWordsLeft (uint32_t channelSelect)
 Return the channel remaining words left to transmit. More...
 
uint32_t XIPGetUDMAIrqStatus (uint32_t channelSelect)
 Return the transactions status. More...
 
void __attribute__ ((section(".TI.ramfunc")))
 

Macro Definition Documentation

§ XIP_UDMA_SEC_CH_OFFSET

#define XIP_UDMA_SEC_CH_OFFSET   0

§ XIP_UDMA_NONSEC_CH_OFFSET

#define XIP_UDMA_NONSEC_CH_OFFSET   HOST_XIP_O_UDNSCFG0 - HOST_XIP_O_UDSCFG0

§ XIP_UDMA_MAX_JOB_SIZE

#define XIP_UDMA_MAX_JOB_SIZE   HOST_XIP_UDSCFG2_JLEN_M

UDMA Maximum configurable job size, in words.

Referenced by XIPStartUDMATransaction().

§ XIP_UDMA_JOB_CONFIGURED

#define XIP_UDMA_JOB_CONFIGURED   HOST_XIP_UDSSTA_JSTA

Status bit to indicate that DMA is processing (secure and non-secure)

§ XIP_UDMA_NO_JOB_CONFIGURED

#define XIP_UDMA_NO_JOB_CONFIGURED   0

Referenced by XIPStartUDMATransaction().

§ XIP_OTFDE_DISABLE_M

#define XIP_OTFDE_DISABLE_M   HOST_XIP_OTSTA_ACTIVESTA_M | HOST_XIP_OTSTA_TASKSUS

Referenced by __attribute__().

§ XIP_OTFDE_DISABLE

#define XIP_OTFDE_DISABLE   0

Referenced by __attribute__().

Function Documentation

§ __attribute__()