50 #include "../inc/hw_types.h" 51 #include "../inc/hw_host_xip.h" 64 #define XIP_UDMA_BIT_SECURE_MASK 0x04000000 67 #define XIP_UDMA_CHANNEL_STATUS_IDLE 0 68 #define XIP_UDMA_CHANNEL_STATUS_PROGRESS 1 71 #define XIP_UDMA_DIRECTION_EXT_TO_INT 0 72 #define XIP_UDMA_DIRECTION_INT_TO_EXT 1 75 #define XIP_UDMA_JOB_STARTED 0 76 #define XIP_UDMA_JOB_NOT_START (-1) 83 #define XIP_UDMA_JOB_IRQ_STATUS_DONE 0 84 #define XIP_UDMA_JOB_IRQ_STATUS_BUS_ERROR 1 85 #define XIP_UDMA_JOB_IRQ_STATUS_SEC_ERROR 2 87 #define XIP_UDMA_NON_SECURE_CHANNEL 0 88 #define XIP_UDMA_SECURE_CHANNEL 1 135 uint8_t directionMode,
136 uint32_t channelSelect);
uint32_t XIPGetUDMAChannelWordsLeft(uint32_t channelSelect)
Return the channel remaining words left to transmit.
Definition: xip.c:133
void XIPDisableOTFDE(void)
Disable the OTFDE processing.
void XIPEnableOTFDE(void)
Enable the OTFDE processing.
uint32_t XIPGetUDMAChannelProgressingStatus(uint32_t channelSelect)
Return the channel progressing status.
Definition: xip.c:111
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.
Definition: xip.c:62
uint32_t XIPGetUDMAIrqStatus(uint32_t channelSelect)
Return the transactions status.
Definition: xip.c:155