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