用于Beagle Bone Black的I2C Slave驱动程序

时间:2015-07-23 21:32:01

标签: linux beagleboneblack i2c

我想在从机模式下使用Beagle Bone Black上的I2C总线。通过搜索,随机帖子的评论部分会提出问题,但从未回答是否可能。

看起来使用从属模式I2C并不是Linux中常见的需求,但是我在Android版本中发现了这个例子:https://android.googlesource.com/kernel/tegra/+/android-tegra-flounder-3.10-lollipop-release/drivers/i2c/i2c-slave.c和linux内核网站上的这个文档:https://www.kernel.org/doc/Documentation/i2c/slave-interface

我正在使用Debian Wheezy发行版,但无法在Linux内核文档中引用的Android文件或i2c-slave-eeprom驱动程序中找到引用。我只是使用太旧的内核吗?如何生成从模式驱动程序?

0 个答案:

没有答案