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.

CSL库中EDMA相关的功能函数全部需要自己写函数体吗?



专家好!

1.在csl_edma3.h这个头文件中,edma相关的功能函数全部给出的是如下的声明:

extern CSL_Edma3ChannelHandle  CSL_edma3ChannelOpen (
    CSL_Edma3ChannelObj        *edmaObj,
    CSL_InstNum                edmaNum,
    CSL_Edma3ChannelAttr       *chAttr,
    CSL_Status                 *status
);

没有函数体,是不是意味着函数体必须自己写呢?如果要自己写的话为什么C6678自带的例子里直接调用这些函数而没有另外写函数体呢?

2.另外,这些函数都只有函数声明而没有函数体,为什么我的程序中直接调用这些函数却可以正常运行呢?

谢谢!