This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

only TPCC_2 in CSL of EDMA3 on C6657?

I have a question about CSL:

file path: \pdk_C6657_1_1_2_6\packages\ti\csl\src\soc\common\csl_edma3GetBaseAddress.c

function:

CSL_Status CSL_edma3ccGetModuleBaseAddr
(
    CSL_InstNum                     edmaNum,
    CSL_Edma3ModuleAttr*            pParam,
    CSL_Edma3ModuleBaseAddress*     pBaseAddress,
    CSL_Edma3CfgInfo*               pCfgInfo
)
{
    CSL_Status status = CSL_SOK;

    if (pBaseAddress == NULL) {
        status = CSL_ESYS_INVPARAMS;
    }
    else {
        switch (edmaNum) {
            case CSL_TPCC_2:
            {
                /* Instance 2: Populate the Base Address... */
                pBaseAddress->regs = (CSL_Edma3ccRegsOvly)CSL_EDMA2CC_REGS;

                /* Populate the Configuration Information for this instance. */
                pCfgInfo->numDMAChannel      = CSL_EDMA3_TPCC2_NUM_DMACH;
                pCfgInfo->numQDMAChannel     = CSL_EDMA3_TPCC2_NUM_QDMACH;
                pCfgInfo->numINTChannel      = CSL_EDMA3_TPCC2_NUM_INTCH;
                pCfgInfo->numParamsets       = CSL_EDMA3_TPCC2_NUM_PARAMSETS;
                pCfgInfo->numEvque           = CSL_EDMA3_TPCC2_NUM_EVQUE;
                pCfgInfo->numRegions         = CSL_EDMA3_TPCC2_NUM_REGIONS;
                pCfgInfo->IsChannelMapping   = TRUE;
                pCfgInfo->IsMemoryProtection = TRUE;
                break;
            }
            default:
                pBaseAddress->regs = (CSL_Edma3ccRegsOvly)NULL;
                status = CSL_ESYS_FAIL;
        }
    }
    return (status);
}

QUESTION:

Why there is only the config when "edmaNum==CSL_TPCC_2" ? Can't the edmaNum be 0 or 1?