AM275 FreeRTOS SDK  11.01.00

Introduction

AASRC dma related parameters and APIs.

Go to the source code of this file.

Data Structures

struct  AASRC_DmaChCfg
 Data structure used to store DMA channel configuration. More...
 
struct  AASRC_DmaIcnt
 

Macros

#define AASRC_TX_DMA_RING_ELEM_CNT   (1U)
 
#define AASRC_TX_DMA_TR_COUNT   (64U)
 
#define AASRC_RX_DMA_RING_ELEM_CNT   (1U)
 
#define AASRC_RX_DMA_TR_COUNT   (64U)
 
#define AASRC_DMA_L0_MAX_XFER_SIZE   (65535U)
 
#define AASRC_DMA_UDMA_XFER_SIZE   (64512U)
 
#define AASRC_DMA_TX_CH_FIFO_DEPTH   (128U)
 
#define AASRC_DMA_RX_CH_FIFO_DEPTH   (128U)
 
#define AASRC_UDMA_TRPD_MEM_SIZE_TX   (UDMA_GET_TRPD_TR3_SIZE(AASRC_TX_DMA_TR_COUNT))
 
#define AASRC_UDMA_TRPD_MEM_SIZE_RX   (UDMA_GET_TRPD_TR3_SIZE(AASRC_RX_DMA_TR_COUNT))
 
#define AASRC_UDMA_RING_ENTRY_SIZE   (sizeof(uint64_t))
 
#define AASRC_UDMA_RING_MEM_SIZE_TX   (AASRC_TX_DMA_RING_ELEM_CNT * AASRC_UDMA_RING_ENTRY_SIZE)
 
#define AASRC_UDMA_RING_MEM_SIZE_RX   (AASRC_RX_DMA_RING_ELEM_CNT * AASRC_UDMA_RING_ENTRY_SIZE)
 
#define AASRC_DMA_PERPETUAL_RELOAD_CNT   (0x1FFU)
 
#define WORD_BYTE_COUNT   (4U)
 
#define AASRC_INVALID_TXN_IDX   (0xDEADBEEFU)
 
#define AASRC_ICNT2_MAX   (65535U)
 

Functions

int32_t AASRC_dmaChOpen (AASRC_ChHandle chHandle)
 Function opens an UDMA channel for AASRC channel RX/TX. More...
 
int32_t AASRC_dmaChEnable (AASRC_ChHandle chHandle)
 Function enables the UDMA channel for AASRC channel RX/TX. More...
 
int32_t AASRC_dmaChDisable (AASRC_ChHandle chHandle)
 Function disables the UDMA channel for AASRC channel RX/TX. More...
 
int32_t AASRC_dmaChClose (AASRC_ChHandle chHandle)
 Function closes the UDMA channel for AASRC channel RX/TX. More...
 
int32_t AASRC_disableDmaRx (AASRC_ChHandle chHandle)
 Function disables the UDMA channel for AASRC channel Tx. More...
 
int32_t AASRC_disableDmaTx (AASRC_ChHandle chHandle)
 Function disables the UDMA channel for AASRC channel Rx. More...