微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > TI-MAC CC2650中有没有定时函数

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);

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top