[][src]Derive Macro i2c_reg_derive::I2cReadRegister

#[derive(I2cReadRegister)]
{
    // Attributes available to this derive:
    #[address]
    #[size]
}

Derive I2cReadRegister to allow reading from register

Attributes

  • address - Register address
  • size - Register number of bytes