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库相关问题 请问Andy



Andy 你好

    我想用TMER测试某段代码执行时间,有没有像下面的的6416这些函数。

    基于LLD的除了EDMA的DAT之外,有别的外设的吗,在哪个目录下呢?还是要安装什么相应组件吗?

    void TIMER_Init(void)

{

hTimer = TIMER_open(TIMER_DEV0,0);

TIMER_config(hTimer,&MyConfig);

   TIMER_start(hTimer);

   TIMER_setCount(hTimer, 0);

}

TIMER_setCount(hTimer, 0);

......

......

TimerCounter = TIMER_getCount(hTimer);

  • 您好,

    1. 没有使用timer来进行程序计时的例子,可以使用读取TSC寄存器的方式进行程序耗时记录;

    2.   “基于LLD的除了EDMA的DAT之外,有别的外设的吗,在哪个目录下呢?还是要安装什么相应组件吗?"

    是什么意思?在MCSDK安装后存在很大外设例子。