R: Read only.
W: One time programmable and not readable.
R/W: One time programmable and readable.
W/E: Multiple writable with value kept after power failure, H/W reset assertion and any
CMD0 reset and not readable.
R/W/E: Multiple writable with value kept after power failure, H/W reset assertion and any
CMD0 reset and readable.
R/W/C_P: Writable after value cleared by power failure and HW/rest assertion (the value not
cleared by CMD0 reset) and readable.
R/W/E_P: Multiple writable with value reset after power failure, H/W reset assertion and any
CMD0 reset and readable.
W/E_P: Multiple writable with value reset after power failure, H/W reset assertion and any
CMD0 reset and not readable.
最近在读协议的时候看到寄存器的属性表,关于只能写不能读的部分十分不解,有大能 能讲讲为什么会设计一个寄存器只能写不能读吗?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- 老皮芽子 2021-11-04 10:34关注
只能写不能读的寄存器还是比较常见的。主要用在一些控制上,比如有些清中断寄存器,写 1 清除中断标识,但是读这个清中断寄存器是没意义的,写的 1 并没保存,一般读出来都是 0
还有就是你贴出来的 一次性写,不能读,这一般用在加密上,保护用户的敏感代码,敏感数据等。在 IC 卡用的比较多。
比如公交卡,在公交公司发卡时,会在卡里写串密码,用户是没办法读读出来的,单公交卡的内部处理器能通过特殊的程序来验证这个密码是否正确。这个公交卡就不会被不法分子非法复制。解决 无用评论 打赏 举报
悬赏问题
- ¥30 求一段fortran代码用IVF编译运行的结果
- ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
- ¥15 lammps拉伸应力应变曲线分析
- ¥15 C++ 头文件/宏冲突问题解决
- ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
- ¥50 安卓adb backup备份子用户应用数据失败
- ¥20 有人能用聚类分析帮我分析一下文本内容嘛
- ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
- ¥30 python代码,帮调试,帮帮忙吧
- ¥15 #MATLAB仿真#车辆换道路径规划