有没有办法编程不关心Python的嵌入式系统?
我正在写Python中DDS(AD9959,模拟设备)芯片的驱动程序。数据表中写的一些模式要求不在乎编写寄存器位。实施相同的正确方法是什么?我试图使用“ X”,但碎片没有写在芯片上。
I am writing a driver for a DDS(AD9959, analog devices) chip in python. Some of the modes written in the datasheet require writing the register bits as do not care. What is the correct way to implement the same? I tried to use 'x', but the bits are not being written on the chip.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“不在乎”一词并不意味着一些特殊的价值。一点只能是0或1。
在阅读时,意味着您可以忽略该值。通常,您将其掩盖。
写作时,意味着您可以自由选择任何值。大多数开发人员写0。
The term "don't care" does not mean some special value for a bit. A bit can only be 0 or 1.
When reading it means that you can ignore the value. Commonly you mask it away.
When writing it means that you are free to choose any value. Most developers write a 0.