CC35xxDriverLibrary
xip.h File Reference
#include <stdint.h>
#include "ospi.h"
#include "../inc/hw_types.h"
#include "../inc/hw_host_xip.h"
Include dependency graph for xip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XIP_UDMA_BIT_SECURE_MASK   0x04000000
 Address bit secure mask - identify secure/non-secure address based on bit 26 (External memory) More...
 
#define XIP_UDMA_CHANNEL_STATUS_IDLE   0
 Channel is in IDLE state, there is no active job. More...
 
#define XIP_UDMA_CHANNEL_STATUS_PROGRESS   1
 Channel is in PROGRESS state, there is an active job. More...
 
#define XIP_UDMA_DIRECTION_EXT_TO_INT   0
 UDMA Data movement from External memory to Internal memory. More...
 
#define XIP_UDMA_DIRECTION_INT_TO_EXT   1
 UDMA Data movement from Internal memory to External memory. More...
 
#define XIP_UDMA_JOB_STARTED   0
 UDMA job started. More...
 
#define XIP_UDMA_JOB_NOT_START   (-1)
 UDMA job not started. More...
 
#define XIP_UDMA_JOB_IRQ_STATUS_DONE   0
 Transaction done. More...
 
#define XIP_UDMA_JOB_IRQ_STATUS_BUS_ERROR   1
 Error, but able to recover (only in write) More...
 
#define XIP_UDMA_JOB_IRQ_STATUS_SEC_ERROR   2
 Error, unable to recover. More...
 
#define XIP_UDMA_NON_SECURE_CHANNEL   0
 
#define XIP_UDMA_SECURE_CHANNEL   1
 

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 XIPDisableOTFDE (void)
 Disable the OTFDE processing. More...
 
void XIPEnableOTFDE (void)
 Enable the OTFDE processing. More...