你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

位带操作

[复制链接]
mr.hs 提问时间:2015-1-10 14:22 /
位带操作  :即向别名区写0/1即向对应位写0/1

那么位带区地址对应的是那些寄存器呢?

收藏 评论4 发布时间:2015-1-10 14:22

举报

4个回答
废鱼 回答时间:2015-1-10 15:28:41
用联合体定义,这个网上自己搜素用法吧.
莫问今生 回答时间:2015-1-10 15:28:44
??????????????
Angel_YY_ST 回答时间:2018-3-12 14:49:19
提示: 作者被禁止或删除 内容自动屏蔽
nyszx 回答时间:2018-3-12 16:21:52
请楼主查阅《Cortex™-Mx技术参考手册》或权威指南之类的书籍资料,就可以明白位带操作原理。
The mapping formula is:
bit_word_addr = bit_band_base + (byte_offset x 32) + (bit_number × 4)
where:
bit_word_addr is the address of the word in the alias memory region that maps to the
targeted bit.
bit_band_base is the starting address of the alias region
byte_offset is the number of the byte in the bit-band region that contains the targeted
bit
bit_number is the bit position (0-7) of the targeted bit.
具体操作的寄存器是什么功能,那就得查看相应器件的参考手册中的存储器和总线构架章节中的存储器映射。

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版