Other Parts Discussed in Thread: PCA9555
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:PCA9555 您好!
我对 PCA9555有一些问题
使用 PCA9555D 实现 GPIO 扩展 I/F。
(在 STM32 MCU 和 PCA9555D 之间进行了 I2C 连接。)
对不起、我想问是否有用于驱动 PCA9555D 的示例源代码。
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.
PCA9555的寄存器没有特殊要求。
您可以在此处找到 Linux 驱动程序: github.com/torvalds/linux/blob/master/drivers/gpio/gpio-pca953x.c 、但它可能用处不大;我想您的问题是如何访问 STM32的 μ I²C 硬件、这是 TI 不提供的。