/* FSM start address register (r/w). First available address is 0x033C..  */
int32_t lsm6dso_fsm_start_address_set(lsm6dso_ctx_t *ctx, uint8_t *buff)
/* FSM start address register (r/w). First available address is 0x033C..  */
int32_t lsm6dso_fsm_start_address_set(lsm6dso_ctx_t *ctx, uint8_t *buff)
{
  int32_t ret;
  uint8_t index;
  index = 0x00U;
  ret = lsm6dso_ln_pg_write_byte(ctx, LSM6DSO_FSM_START_ADD_L, &buff[index]);
  if (ret == 0) {
    index++;
    ret = lsm6dso_ln_pg_write_byte(ctx, LSM6DSO_FSM_START_ADD_H,
                                   &buff[index]);
  }
  return ret;
}