amb_reg_temp_max
amb_write_byte(data, amb_reg_temp_max(attr->index), temp);
500 * amb_read_byte(data, amb_reg_temp_max(attr->index)));