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