From bca84b9876057413352eb2f0b50f1c7087d55293 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Thu, 10 Sep 2020 14:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=8F=82=E6=95=B0.?= 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Software/Applications/I2C/Linux_下_I2C_工具.md b/Software/Applications/I2C/Linux_下_I2C_工具.md index 348c7ef..3a2663b 100644 --- a/Software/Applications/I2C/Linux_下_I2C_工具.md +++ b/Software/Applications/I2C/Linux_下_I2C_工具.md @@ -2,9 +2,11 @@ ```bash # 检测 I2C 设备 -i2cdetect -r -y +i2cdetect -y -r # 设置 I2C 设备寄存器值 -i2cset -f -y +i2cset -f -y ...[c/b/w/i/s] +# 读取 I2C 设备寄存器的值 +i2cget -f -y [reg addr[b/w/c]] # Dump I2C 设备寄存器 -i2cdump -f -y +i2cdump -f -y [b/w/W/s/i/c] ```