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.

c66x edma

想请教下TI的员工,pdk_C6678_1_1_2_6\packages\ti\csl\example\edma\edma_test.c例子里面edma使用了中断,但没相关的中断服务函数,和注册中断,请问如何理解,此外中断触发的条件是手动触发,意思是我使用了“CSL_edma3HwChannelControl(hChannel,CSL_EDMA3_CMD_CHANNEL_SET,NULL)”就可以触发传输了吗?

    regionIntr.region = regionNum;
    regionIntr.intr = 0;
    regionIntr.intrh = 0;
    
    do {
        /* Poll on interrupt bit 0 */
        CSL_edma3GetHwStatus(hModule,CSL_EDMA3_QUERY_INTRPEND,&regionIntr);
    } while (!(regionIntr.intr & 0x1));

    /* Clear interrupt bit 0 */
    if (CSL_edma3HwControl(hModule,CSL_EDMA3_CMD_INTRPEND_CLEAR, &regionIntr) != CSL_SOK) 
    {
        printf("Error: EDMA clear interrupt bit 0 command is failed\n");
        return -1;
    }