parent
df43ef7be9
commit
dc37112389
|
@ -22,6 +22,10 @@ i2cset -f -y <bus num> <dev addr> <reg addr> <value>...[c/b/w/i/s]
|
|||
i2cget -f -y <bus num> <dev addr> [reg addr[b/w/c]]
|
||||
# Dump I2C 设备寄存器
|
||||
i2cdump -f -y <bus num> <dev addr> [b/w/W/s/i/c]
|
||||
# 连续读写
|
||||
i2ctransfer -f -y <bus num> {r|w}<length_of_message>[@address]
|
||||
# 示例:连续写
|
||||
i2ctransfer -f -y 3 w6@0x1a 0x80 0x01 0x00 0x00 0x00 0x82
|
||||
```
|
||||
|
||||
## 3.i2cdetect
|
||||
|
|
Loading…
Reference in New Issue