该用户从未签到
10
31
142
注册会员
使用道具 举报
签到天数: 17 天
[LV.4]偶尔看看III
16
728
2620
超级版主
void Timer_Multiple_timings(u8 num, u16 cnt) { //设置某个定时器的时间 EA = 0; //关闭中断 LibVarTimer[num] = cnt; //临界变量需要和中断互斥写,否则会出错 EA = 1; //使能中断 }复制代码
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2024-6-1 22:54 , Processed in 0.081113 second(s), 36 queries .
Powered by Discuz! X3.5
© 2001-2024 Discuz! Team.