找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

看了一个程序

[复制链接]
跳转到指定楼层
楼主
arm_nuedu 发表于 2017-7-27 15:27:51 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
看了一个程序,不知道为什么这样写?

SysTick->VAL  = 10*36000 ;            
  SysTick->LOAD = 10*36000 ;                               // 10 ms
  SCB->SHP[11]  = ~0 ;                                     // Interrupt priority = 3


这个10ms的延迟,system 一个时钟不是1us吗?

PRI_11riority of System Handler 11 – SVCall
“0” denotes the highest priority and “3” denotes the lowest priority.

上网查了这个SVCall不太懂?

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU