/* Sets the register pointer with specified reg value.  */
void at30tse_set_register_pointer(uint8_t reg, uint8_t reg_type)
/* Sets the register pointer with specified reg value.  */
void at30tse_set_register_pointer(uint8_t reg, uint8_t reg_type)
{
	uint8_t buffer[] = {reg | reg_type};
    struct i2c_master_packet transfer = {
		.address     = AT30TSE_TEMPERATURE_TWI_ADDR,
		.data_length = 1,
		.data        = buffer,
	};
    i2c_master_write_packet_wait(&dev_inst_at30tse75x, &transfer);
}