/* Register address automatically incremented during a multiple byte access with a serial interface..  */
int32_t lsm6dsl_auto_increment_get(stmdev_ctx_t *ctx, uint8_t *val)
/* Register address automatically incremented during a multiple byte access with a serial interface..  */
int32_t lsm6dsl_auto_increment_get(stmdev_ctx_t *ctx, uint8_t *val)
{
  lsm6dsl_ctrl3_c_t ctrl3_c;
  int32_t ret;
  ret = lsm6dsl_read_reg(ctx, LSM6DSL_CTRL3_C, (uint8_t*)&ctrl3_c, 1);
  *val = ctrl3_c.if_inc;
  return ret;
}