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.

[参考译文] CCS/AM3352:AM3352 Timer_create 失败、转至_exit()

Guru**** 2522770 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/864591/ccs-am3352-am3352-timer_create-failed-it-go-to-_exit

器件型号:AM3352

工具/软件:Code Composer Studio

你(们)好

    我想创建计时器中断,我的代码是:

Timer_Params timerParams;
Timer_handle myTimer;
Timer_Params_init (&timerParams);
timerParams.period = 10;
timerParams.periodType = Timer_PeriodType_micros;
timerParams.startMode = Timer_StartMode_Auto;
timerParams.arg = 1;
myTimer = Timer_create (Timer_any、myIsr、&timerParams、&EB);

在我对其进行编译和调试后、 它会在 Timer_create 后转到_exit。 这意味着创建时间已提交。

我的 PDK 版本是 pdk_am335x_1_0_13、我的电路板 是定制的。

巴西!