Searched refs:MAX_I2C_BYTES (Results 1 – 1 of 1) sorted by relevance
23 #define MAX_I2C_BYTES 16 macro130 uint8_t buf[MAX_I2C_BYTES + MAX_BYTES_FOR_REGISTER_INDEX - 1]; in i2c_write_from_buffer()151 if (data_length + reg_addr_bytes > MAX_I2C_BYTES) { in i2c_write_from_buffer()152 data_length = MAX_I2C_BYTES - reg_addr_bytes; in i2c_write_from_buffer()154 MAX_I2C_BYTES - reg_addr_bytes); in i2c_write_from_buffer()250 uint8_t buf[MAX_I2C_BYTES]; in cmd_i2c_read()256 if (num_bytes > MAX_I2C_BYTES) { in cmd_i2c_read()257 num_bytes = MAX_I2C_BYTES; in cmd_i2c_read()260 num_bytes = MAX_I2C_BYTES; in cmd_i2c_read()342 cmd_i2c_write, 4, MAX_I2C_BYTES),