补充参数.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-09-10 14:32:29 +08:00
parent a4fbc26c79
commit bca84b9876
1 changed files with 5 additions and 3 deletions

View File

@ -2,9 +2,11 @@
```bash
# 检测 I2C 设备
i2cdetect -r -y <bus num>
i2cdetect -y -r <bus num>
# 设置 I2C 设备寄存器值
i2cset -f -y <bus num> <dev addr> <reg addr> <value>
i2cset -f -y <bus num> <dev addr> <reg addr> <value>...[c/b/w/i/s]
# 读取 I2C 设备寄存器的值
i2cget -f -y <bus num> <dev addr> [reg addr[b/w/c]]
# Dump I2C 设备寄存器
i2cdump -f -y <bus num> <dev addr>
i2cdump -f -y <bus num> <dev addr> [b/w/W/s/i/c]
```