From a4fbc26c79db7720c3a830b9e5ff250539d7b3db Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Thu, 10 Sep 2020 14:02:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Linux=20=E4=B8=8B=20I2C=20?= =?UTF-8?q?=E5=B7=A5=E5=85=B7.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- Software/Applications/I2C/Linux_下_I2C_工具.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Software/Applications/I2C/Linux_下_I2C_工具.md diff --git a/Software/Applications/I2C/Linux_下_I2C_工具.md b/Software/Applications/I2C/Linux_下_I2C_工具.md new file mode 100644 index 0000000..348c7ef --- /dev/null +++ b/Software/Applications/I2C/Linux_下_I2C_工具.md @@ -0,0 +1,10 @@ +# Linux 下 I2C 工具 + +```bash +# 检测 I2C 设备 +i2cdetect -r -y +# 设置 I2C 设备寄存器值 +i2cset -f -y +# Dump I2C 设备寄存器 +i2cdump -f -y +```