NVIC_SetPriority(SysTick_IRQn, 0x04)
<div class='showpostmsg'><table cellspacing="0" cellpadding="0" style="table-layout: fixed; width: 1119px; color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238); "><tbody><tr><td class="t_f" id="postmessage_5630364"><br><span style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; ">NVIC_SetPriority(SysTick_IRQn, n);</span><br style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; "><span style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; ">n=0x00~0x03 设置Systick为抢占优先级0</span><br style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; "><span style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; ">n=0x04~0x07 设置Systick为抢占优先级1</span><br style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; "><span style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; ">n=0x08~0x0B 设置Systick为抢占优先级2</span><br style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; "><span style="color: rgb(68, 68, 68); font-family: Tahoma, Helvetica, SimSun, sans-serif; line-height: 18px; ">n=0x0C~0x0F 设置Systick为抢占优先级3</span><font color="#444444" face="Tahoma, Helvetica, SimSun, sans-serif"><span style="line-height: 18px; "><br></span></font>**** Hidden Message *****</td></tr></tbody></table></div><script> var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;" style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
if(parseInt(discuz_uid)==0){
(function($){
var postHeight = getTextHeight(400);
$(".showpostmsg").html($(".showpostmsg").html());
$(".showpostmsg").after(loginstr);
$(".showpostmsg").css({height:postHeight,overflow:"hidden"});
})(jQuery);
} </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script> 正学习,谢谢分享。 正学习,谢谢分享。 :Laugh: kankan 这应该是个好东西,回复看看 看看 看看啦 谢谢分享。