/* iis2dh_enable_int - enable selected int pin to generate interrupt  */
static int iis2dh_enable_drdy(const struct device *dev, enum sensor_trigger_type type, int enable)
/* iis2dh_enable_int - enable selected int pin to generate interrupt  */
static int iis2dh_enable_drdy(const struct device *dev, enum sensor_trigger_type type, int enable)
{
	struct iis2dh_data *iis2dh = dev->data;
	iis2dh_ctrl_reg3_t reg3;
	iis2dh_pin_int1_config_get(iis2dh->ctx, &reg3);
	reg3.i1_drdy1 = enable;
	return iis2dh_pin_int1_config_set(iis2dh->ctx, &reg3);
}