i2c-wr — Write to an I2C® device.
bus] [--help] [--version] address value...
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 write to.
The value to be written, at least one value must be given, an empty write is not permitted.
Write one or more bytes to an I2C® device.
Example 18.2. Using the i2c-wr command
To write a byte of data to the first register in a simtec power management unit you can execute.
>i2c-wr 0x6b 0x00 0x01 Writing 2 bytes to bus 0xe0075224 at address 0x6b 00 01 >