i2c-rd — Read from an I2C® device.
bus] [--help] [--version] address [length]
allows the specification of which I2C® bus to use if several are available on a system. This parameter defaults to the first bus (0).
display short helptext and exit
display commands version and exit
The 7bit I2C® bus address to read from.
The number of bytes to read. The default is one.
Read one or more bytes from an I2C® device.
Example 18.1. Using the i2c-rd command
To read a byte of data from a simtec power management unit you can execute
>i2c-rd 0x6b Reading 1 bytes from bus 0xe0075224 at address 0x6b 53 >