CC1310定时器
时间:12-23
整理:3721RD
点击:
CC1310定时器清0,重新计时用那几个函数?
// Stop clock first
Clock_stop(handle);
// Convert timeout in milliseconds to ticks.
clockTicks = clockTimeout * (1000 / Clock_tickPeriod);
// Set the initial timeout
Clock_setTimeout(handle, clockTicks);
// Start clock instance
Clock_start(handle);