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] ```