请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:SIMPLELINK-CC13XX-CC26XX-SDK工具/软件:
您好、
下面显示了简单链接学院“Custom Profiles“的任务 6 中“添加和初始化时钟“下列出的时钟初始化示例代码。
// clockParams is only used during init and can be on the stack.
Clock_Params myClockParams;
// Insert default params
Clock_Params_init(&myClockParams);
// Set a period, so it times out periodically without jitter
myClockParams.period = DEFAULT_SUNLIGHT_TIMEOUT * (1000/Clock_tickPeriod),
// Initialize the clock object / Clock_Struct previously added globally.
Clock_construct(&myClock, myClockSwiFxn,
0, // Initial delay before first timeout
&myClockParams);
在第 6 行“myClockParams.period = default_sunt_timeout *(1000/Clock_tickPeriod)“末尾的“、“的意图是什么?
这只是一个拼写错误吗?
此致。