请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TCA9539-Q1 这个 IO 扩展芯片能够提供驱动程序参考源代码?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个 IO 扩展芯片能够提供驱动程序参考源代码?
这些 I/O 扩展器的寄存器非常简单。 因此、提供参考驱动程序没有多大意义、因为它几乎全部包含连接 μ I²C 主机硬件以及操作系统驱动程序接口所需的代码、这非常依赖于系统。
Linux 驱动程序可在 git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/gpio-pca953x.c 上找到。