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.
请问下,TI-RTOS有没有如taskDelay()这样的延时函数?
JianHua,
你可以这样: Task_sleep( ((i) * 1000) / Clock_tickPeriod )
i 表示ms数。Clock_tickPeriod 在CC2640里面是10us.
Yan,
我用Task_sleep来拉IO口产生一定占空比的波形,如果我高电平设置成3ms,测到的波形却有3.4ms了,是IO口的速率慢,还是其他高优先级事件打断了?