07 2023 档案

编写设备驱动之i2c_client -10
摘要:编写设备驱动之i2c_client 参考资料: Linux内核文档: Documentation\i2c\instantiating-devices.rst Documentation\i2c\writing-clients.rst Linux内核驱动程序示例: drivers/eeprom/at2 阅读全文

posted @ 2023-07-30 21:34 拉风摊主 阅读(123) 评论(0) 推荐(0) 编辑

编写设备驱动之i2c_driver -9
摘要:参考资料: Linux内核文档: Documentation\i2c\instantiating-devices.rst Documentation\i2c\writing-clients.rst Linux内核驱动程序示例: drivers/eeprom/at24.c 本节代码:GIT仓库中 框架 阅读全文

posted @ 2023-07-30 19:18 拉风摊主 阅读(26) 评论(0) 推荐(0) 编辑

I2C系统驱动程序模型 -8
摘要:参考资料: Linux内核文档: Documentation\i2c\instantiating-devices.rst Documentation\i2c\writing-clients.rst Linux内核驱动程序示例: drivers/eeprom/at24.c 1. I2C驱动程序的层次 阅读全文

posted @ 2023-07-30 19:04 拉风摊主 阅读(42) 评论(0) 推荐(0) 编辑

通用驱动i2c-dev分析 -7
摘要:参考资料: Linux驱动程序: drivers/i2c/i2c-dev.c I2C-Tools-4.2: https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/ AT24cxx.pdf 1. 回顾字符设备驱动程序 怎么编写字符设备 阅读全文

posted @ 2023-07-30 17:04 拉风摊主 阅读(79) 评论(0) 推荐(0) 编辑

基于ICTOOL编写APP直接访问EEPROM-6
摘要:编写APP直接访问EEPROM 参考资料: Linux驱动程序: drivers/i2c/i2c-dev.c I2C-Tools-4.2: https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/ AT24cxx.pdf 本节源码:G 阅读全文

posted @ 2023-07-23 21:05 拉风摊主 阅读(31) 评论(0) 推荐(0) 编辑

无需编写驱动直接访问设备\_I2C-Tools介绍 -5
摘要:无需编写驱动直接访问设备_I2C-Tools介绍 参考资料: Linux驱动程序: drivers/i2c/i2c-dev.c I2C-Tools-4.2: https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/ AP3216C: 阅读全文

posted @ 2023-07-16 21:40 拉风摊主 阅读(157) 评论(0) 推荐(0) 编辑

I2C系统的重要结构体 -4
摘要:I2C系统的重要结构体 参考资料: Linux驱动程序: drivers/i2c/i2c-dev.c I2CTools: https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/ 1. I2C硬件框架 2. I2C传输协议 写操作 读 阅读全文

posted @ 2023-07-16 21:37 拉风摊主 阅读(52) 评论(0) 推荐(0) 编辑

SMBus协议-3
摘要:参考资料: Linux内核文档:Documentation\i2c\smbus-protocol.rst SMBus协议: http://www.smbus.org/specs/ SMBus_3_0_20141220.pdf I2CTools: https://mirrors.edge.kernel 阅读全文

posted @ 2023-07-16 16:35 拉风摊主 阅读(235) 评论(0) 推荐(0) 编辑

IIC协议 -2
摘要:1. 硬件连接 I2C在硬件上的接法如下所示,主控芯片引出两条线SCL,SDA线,在一条I2C总线上可以接很多I2C设备,我们还会放一个上拉电阻,原因见3.4 2. 传输数据类比 怎么通过I2C传输数据,我们需要把数据从主设备发送到从设备上去,也需要把数据从从设备传送到主设备上去,数据涉及到双向传输 阅读全文

posted @ 2023-07-16 15:11 拉风摊主 阅读(95) 评论(0) 推荐(0) 编辑

IIC基本介绍-1
摘要:1. I2C硬件框架 在一个芯片(SoC)内部,有一个或多个I2C控制器 在一个I2C控制器上,可以连接一个或多个I2C设备 I2C总线只需要2条线:时钟线SCL、数据线SDA 在I2C总线的SCL、SDA线上,都有上拉电阻 2. I2C软件框架 以I2C接口的存储设备AT24C02为例: APP: 阅读全文

posted @ 2023-07-16 15:03 拉风摊主 阅读(99) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示