简体   繁体   English

格式为1.4.12的寄存器值

[英]Register value of format 1.4.12

I need to write a value to a HW register, which has the number format. 我需要将值写入具有数字格式的硬件寄存器。 1.4.12. 1.4.12。 I guess the fact they're telling me in the HW specs about the format, that I need to somehow handle the number in a special way. 我猜他们在HW规范中告诉我有关格式的事实,我需要以某种特殊方式处理该数字。 Could someone give me pointers on what to do? 有人可以给我指示该怎么做吗?

I guess I cannot just write the value passed to me directly in the register? 我想我不能只是直接将传递给我的值写在寄存器中?

Too little information to make an exact answer. 信息不足,无法给出确切答案。 The format 1.4.12 says nothing without further context. 格式1.4.12在没有其他上下文的情况下什么也没有说。

There should be a specification of the format somewhere in the docs, at least if the documentation is a formal paper and complete. 至少在文档为正式文件且完整的情况下,文档中的某处应该有格式规范。

Sometimes, this "specification" is just a brief explanation how bits are ordered in each register -- but then it has to elaborate on exactly how to map data into each bit. 有时,这种“规范”只是对每个寄存器中的位如何排序的简要说明-但随后必须详细说明如何将数据映射到每个位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM