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-MAC CC2650中有没有定时函数

Other Parts Discussed in Thread: CC2650

有没有人知道在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);