# Cppi_DescCfg Struct Reference
[CPPI Low Level Driver Data Structures]

CPPI descriptor configuration structure. More...

`#include <cppi_desc.h>`

## Data Fields

Qmss_MemRegion | memRegion
uint32_t | descNum
int32_t | destQueueNum
Qmss_QueueType | queueType
Cppi_InitDesc | initDesc
Cppi_DescType | descType
Qmss_Queue | returnQueue
Qmss_Location | returnPushPolicy
Cppi_EPIB | epibPresent
union {
Cppi_HostDescCfg host
Cppi_MonolithicDescCfg mono
} | cfg

## Detailed Description

CPPI descriptor configuration structure.

## Field Documentation

union { ... } Cppi_DescCfg::cfg

Union contains configuration that should be initialized in for host or monolithic descriptor. The configuration for host or monolithic descriptor is choosen based on "descType" field. The approriate structure fields must be specified if "initDesc" field is set to CPPI_INIT_DESCRIPTOR.

uint32_t Cppi_DescCfg::descNum

Number of descriptors that should be configured with value below

Cppi_DescType Cppi_DescCfg::descType

Type of descriptor - Host or Monolithic

int32_t Cppi_DescCfg::destQueueNum

Queue where the descriptor is stored. If destQueueNum is set to QMSS_PARAM_NOT_SPECIFIED then the next available queue of type Qmss_QueueType will be allocated

Cppi_EPIB Cppi_DescCfg::epibPresent

Indicates presence of EPIB

Cppi_HostDescCfg Cppi_DescCfg::host

Host descriptor configuration parameters

Cppi_InitDesc Cppi_DescCfg::initDesc

Descriptor configuration parameters Indicates if the descriptor should be initialized with parameters listed below

Qmss_MemRegion Cppi_DescCfg::memRegion

Memory Region corresponding to the descriptor.

Cppi_MonolithicDescCfg Cppi_DescCfg::mono

Monolithic descriptor configuration parameters

Qmss_QueueType Cppi_DescCfg::queueType

If destQueueNum is set to QMSS_PARAM_NOT_SPECIFIED then the next available queue of type Qmss_QueueType will be allocated

Qmss_Location Cppi_DescCfg::returnPushPolicy

Indicates how the CPDMA returns descriptors to free queue

Qmss_Queue Cppi_DescCfg::returnQueue

Indicates return Queue Manager and Queue Number. If both qMgr and qNum in returnQueue is set to QMSS_PARAM_NOT_SPECIFIED then the destQueueNum is configured in returnQueue of the descriptor

The documentation for this struct was generated from the following file:

- cppi_desc.h

Copyright 2012, Texas Instruments Incorporated