- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Defines | Typedefs | Enumerations | Functions
csl_dat.h File Reference

Functional layer API header file for DAT CSL. More...

`#include <soc.h>`
`#include <tistdtypes.h>`
`#include <cslr_sysctrl.h>`
`#include <csl_types.h>`
`#include <csl_error.h>`
`#include <csl_general.h>`

Go to the source code of this file.

## Data Structures
struct | CSL_DAT_ChannelObj
| DAT channel object. More...
## Defines
#define | CSL_DAT_TIME_OUT (0xFFF)
#define | CSL_DAT_CHANNEL_BUSY (0x1)
#define | CSL_DAT_CHANNEL_FREE (0)
#define | CSL_DAT_TXBURST_WORD_LENGTH (0x0)
#define | CSL_DAT_CHANNEL_ENABLE (Uint16)1
#define | CSL_DAT_CHANNEL_DISABLE (Uint16)0
#define | CSL_DAT_CHAN_MAX (16)
#define | CSL_DAT_CHAN_PRIORITY_HIGH (0xF)
#define | CSL_DAT_CHAN_PRIORITY_LOW (0x0)
#define | CSL_DMA_MIN_TX_SIZE (4)
#define | CSL_DMA_UINT16_MASK (0xFFFF)
#define | CSL_DMA_UINT16_NUMBER_BITS (0x0010)
#define | CSL_DMA_ADDR_SHIFT (0x01)
#define | CSL_DMA_ADDR_MODE_FIXED (0x02)
#define | CSL_DMA_ADDR_MODE_INCREMENT (0x00)
#define | CSL_DMA_DARAM_START_ADDR (0x00060)
#define | CSL_DMA_DARAM_END_ADDR (0x07FFF)
#define | CSL_DMA_SARAM_START_ADDR (0x08000)
#define | CSL_DMA_SARAM_END_ADDR (0x27FFF)
#define | CSL_DMA_DARAM_ADDR_OFFSET (0x010000)
#define | CSL_DMA_SARAM_ADDR_OFFSET (0x080000)
## Typedefs
typedef CSL_DAT_ChannelObj * | CSL_DAT_Handle
| DAT Handle.
## Enumerations
enum | CSL_DAT_TxType { CSL_DAT_1D2D, CSL_DAT_2D1D, CSL_DAT_2D2D }
| DAT data transfer type. More...
enum | CSL_DATEngineId { CSL_DAT_ENGINE0 = 0, CSL_DAT_ENGINE1, CSL_DAT_ENGINE2, CSL_DAT_ENGINE3, CSL_DAT_ENGINE_INV }
| DAT engine number. More...
enum | CSL_DATChanNum { CSL_DAT_CHAN0 = 0, CSL_DAT_CHAN1, CSL_DAT_CHAN2, CSL_DAT_CHAN3, CSL_DAT_CHAN4, CSL_DAT_CHAN5, CSL_DAT_CHAN6, CSL_DAT_CHAN7, CSL_DAT_CHAN8, CSL_DAT_CHAN9, CSL_DAT_CHAN10, CSL_DAT_CHAN11, CSL_DAT_CHAN12, CSL_DAT_CHAN13, CSL_DAT_CHAN14, CSL_DAT_CHAN15, CSL_DAT_CHAN_INV }
| DAT channel number. More...
## Functions
CSL_DAT_Handle | DAT_open (CSL_DATChanNum chanNum, Uint16 chanPriority, CSL_DAT_ChannelObj *pDatChanObj, CSL_Status *status)
CSL_Status | DAT_close (CSL_DAT_Handle hDAT)
CSL_Status | DAT_copy (CSL_DAT_Handle hDAT, Uint32 srcAddr, Uint32 destAddr, Uint16 dataLength)
CSL_Status | DAT_fill (CSL_DAT_Handle hDAT, Uint32 destAddr, Uint16 dataLength, Uint32 *pdataValue)
CSL_Status | DAT_wait (CSL_DAT_Handle hDAT)

## Detailed Description

Functional layer API header file for DAT CSL.

Path: \(CSLPATH)/inc