TI-MAC CC2650中有没有定时函数
时间:10-02
整理:3721RD
点击:
有没有人知道在TI-MAC CC2650中有没有定时函数,我想用到一个定时的函数,比如说,在5秒之后触发某一条语句或是事件,让其发生
/* Initialize clock poll parameters */
Clock_Params_init(&msaPollParams);
/* Create a periodic poll timer */
msaPollParams.period = msaWaitPeriod;
msaPollParams.startFlag = FALSE;
msaPollParams.arg = (UArg)MSA_POLL_EVENT;
Clock_construct(&msaPoll, MSA_ClockFxn, msaWaitPeriod, &msaPollParams);
