LinuxI2C总线分析主要是probe的方式1.docVIP

  • 2
  • 0
  • 约1.13万字
  • 约 11页
  • 2020-03-19 发布于湖北
  • 举报
Linux I2C 总线浅析 ㈠ Overview 内核空间层次! i2c adapter 是一个struct, 用来抽象一个物理i2c bus ,而且还和linux 设备驱动架构柔和在一起.. 如果只说硬件的话,就是在CPU内部集成的一个I2C控制器(提供给用户的就是那几个register),硬件上并没的所谓的adapter,client这些东东,,adapter和client都是linux驱动软件抽象出来的东西 资料帖子: /thread-1926465-1-1.html struct i2c_algorithm { /* If an adapter algorithm cant do I2C-level access, set master_xfer to NULL. If an adapter algorithm can do SMBus access, set smbus_xfer. If set to NULL, the SMBus protocol is simulated using common I2C messages */ /* master_xfer should return the number of messages successfully processed, or a negative value on

文档评论(0)

1亿VIP精品文档

相关文档