硬汉嵌入式论坛

 找回密码
 立即注册
查看: 2341|回复: 1
收起左侧

新版CMSIS软件包的函数__set_CONTROL内部将全部加入 __ISB();

[复制链接]

1万

主题

7万

回帖

11万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
115666
QQ
发表于 2021-6-22 08:41:21 | 显示全部楼层 |阅读模式

https://github.com/ARM-software/ ... /CMSIS/Core/Include


QQ图片20210622084026.png


  1. /**
  2.   \brief   Set Control Register
  3.   \details Writes the given value to the Control Register.
  4.   \param [in]    control  Control Register value to set
  5. */
  6. __STATIC_INLINE void __set_CONTROL(uint32_t control)
  7. {
  8.   register uint32_t __regControl         __ASM("control");
  9.   __regControl = control;
  10.   __ISB();
  11. }
复制代码


回复

使用道具 举报

1万

主题

7万

回帖

11万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
115666
QQ
 楼主| 发表于 2021-6-22 08:45:22 | 显示全部楼层
QQ截图20210622084503.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2025-5-10 15:08 , Processed in 0.217098 second(s), 27 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表