Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 11 of 11) sorted by relevance

/hal_st-3.6.0/sensor/stmemsc/_resources/FIFO_Utility_Tool/
Dst_fifo.c842 uint8_t idx = 0; in bdr_get_index() local
854 idx = i; in bdr_get_index()
858 return idx; in bdr_get_index()
/hal_st-3.6.0/sensor/stmemsc/lsm6dso16is_STdC/driver/
Dlsm6dso16is_reg.c2444 int32_t lsm6dso16is_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx, in lsm6dso16is_sh_slv_cfg_read() argument
2456 ret = lsm6dso16is_write_reg(ctx, LSM6DSO16IS_SLV0_ADD + idx*3U, in lsm6dso16is_sh_slv_cfg_read()
2460 ret = lsm6dso16is_write_reg(ctx, LSM6DSO16IS_SLV0_SUBADD + idx*3U, in lsm6dso16is_sh_slv_cfg_read()
2464 ret = lsm6dso16is_read_reg(ctx, LSM6DSO16IS_SLV0_CONFIG + idx*3U, in lsm6dso16is_sh_slv_cfg_read()
2469 ret = lsm6dso16is_write_reg(ctx, LSM6DSO16IS_SLV0_CONFIG + idx*3U, in lsm6dso16is_sh_slv_cfg_read()
Dlsm6dso16is_reg.h2680 int32_t lsm6dso16is_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx,
/hal_st-3.6.0/sensor/stmemsc/ism330is_STdC/driver/
Dism330is_reg.c2444 int32_t ism330is_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx, in ism330is_sh_slv_cfg_read() argument
2456 ret = ism330is_write_reg(ctx, ISM330IS_SLV0_ADD + idx*3U, in ism330is_sh_slv_cfg_read()
2460 ret = ism330is_write_reg(ctx, ISM330IS_SLV0_SUBADD + idx*3U, in ism330is_sh_slv_cfg_read()
2464 ret = ism330is_read_reg(ctx, ISM330IS_SLV0_CONFIG + idx*3U, in ism330is_sh_slv_cfg_read()
2469 ret = ism330is_write_reg(ctx, ISM330IS_SLV0_CONFIG + idx*3U, in ism330is_sh_slv_cfg_read()
Dism330is_reg.h2680 int32_t ism330is_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx,
/hal_st-3.6.0/sensor/stmemsc/lsm6dsv_STdC/driver/
Dlsm6dsv_reg.c4006 int32_t lsm6dsv_fifo_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val) in lsm6dsv_fifo_sh_batch_slave_set() argument
4014 ret = lsm6dsv_read_reg(ctx, LSM6DSV_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv_fifo_sh_batch_slave_set()
4016 ret += lsm6dsv_write_reg(ctx, LSM6DSV_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv_fifo_sh_batch_slave_set()
4031 int32_t lsm6dsv_fifo_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val) in lsm6dsv_fifo_sh_batch_slave_get() argument
4039 ret = lsm6dsv_read_reg(ctx, LSM6DSV_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv_fifo_sh_batch_slave_get()
7673 int32_t lsm6dsv_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx, in lsm6dsv_sh_slv_cfg_read() argument
7685 ret = lsm6dsv_write_reg(ctx, LSM6DSV_SLV0_ADD + idx*3U, in lsm6dsv_sh_slv_cfg_read()
7689 ret = lsm6dsv_write_reg(ctx, LSM6DSV_SLV0_SUBADD + idx*3U, in lsm6dsv_sh_slv_cfg_read()
7693 ret = lsm6dsv_read_reg(ctx, LSM6DSV_SLV0_CONFIG + idx*3U, in lsm6dsv_sh_slv_cfg_read()
7698 ret = lsm6dsv_write_reg(ctx, LSM6DSV_SLV0_CONFIG + idx*3U, in lsm6dsv_sh_slv_cfg_read()
Dlsm6dsv_reg.h4266 int32_t lsm6dsv_fifo_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val);
4267 int32_t lsm6dsv_fifo_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val);
4768 int32_t lsm6dsv_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx,
/hal_st-3.6.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c4159 int32_t lsm6dsv16x_fifo_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val) in lsm6dsv16x_fifo_sh_batch_slave_set() argument
4167 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv16x_fifo_sh_batch_slave_set()
4169 ret += lsm6dsv16x_write_reg(ctx, LSM6DSV16X_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv16x_fifo_sh_batch_slave_set()
4184 int32_t lsm6dsv16x_fifo_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val) in lsm6dsv16x_fifo_sh_batch_slave_get() argument
4192 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_SLV0_CONFIG + idx*3U, (uint8_t *)&slv_config, 1); in lsm6dsv16x_fifo_sh_batch_slave_get()
8211 int32_t lsm6dsv16x_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx, in lsm6dsv16x_sh_slv_cfg_read() argument
8223 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_SLV0_ADD + idx*3U, in lsm6dsv16x_sh_slv_cfg_read()
8227 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_SLV0_SUBADD + idx*3U, in lsm6dsv16x_sh_slv_cfg_read()
8231 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_SLV0_CONFIG + idx*3U, in lsm6dsv16x_sh_slv_cfg_read()
8236 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_SLV0_CONFIG + idx*3U, in lsm6dsv16x_sh_slv_cfg_read()
Dlsm6dsv16x_reg.h4489 int32_t lsm6dsv16x_fifo_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val);
4490 int32_t lsm6dsv16x_fifo_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val);
5050 int32_t lsm6dsv16x_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx,
/hal_st-3.6.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c6991 int32_t lsm6dso_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val) in lsm6dso_sh_batch_slave_set() argument
6999 ret = lsm6dso_read_reg(ctx, LSM6DSO_SLV0_CONFIG + 3U*idx, (uint8_t *)&reg, 1); in lsm6dso_sh_batch_slave_set()
7001 ret += lsm6dso_write_reg(ctx, LSM6DSO_SLV0_CONFIG + 3U*idx, (uint8_t *)&reg, 1); in lsm6dso_sh_batch_slave_set()
7016 int32_t lsm6dso_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val) in lsm6dso_sh_batch_slave_get() argument
7024 ret = lsm6dso_read_reg(ctx, LSM6DSO_SLV0_CONFIG + 3U*idx, (uint8_t *)&reg, 1); in lsm6dso_sh_batch_slave_get()
9179 int32_t lsm6dso_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx, in lsm6dso_sh_slv_cfg_read() argument
9191 ret = lsm6dso_write_reg(ctx, LSM6DSO_SLV0_ADD + idx*3U, (uint8_t *)&slv0_add, 1); in lsm6dso_sh_slv_cfg_read()
9194 ret = lsm6dso_write_reg(ctx, LSM6DSO_SLV0_SUBADD + idx*3U, &(val->slv_subadd), 1); in lsm6dso_sh_slv_cfg_read()
9197 ret = lsm6dso_read_reg(ctx, LSM6DSO_SLV0_CONFIG + idx*3U, (uint8_t *)&slv0_config, 1); in lsm6dso_sh_slv_cfg_read()
9199 ret += lsm6dso_write_reg(ctx, LSM6DSO_SLV0_CONFIG + idx*3U, (uint8_t *)&slv0_config, 1); in lsm6dso_sh_slv_cfg_read()
Dlsm6dso_reg.h3650 int32_t lsm6dso_sh_batch_slave_set(stmdev_ctx_t *ctx, uint8_t idx, uint8_t val);
3651 int32_t lsm6dso_sh_batch_slave_get(stmdev_ctx_t *ctx, uint8_t idx, uint8_t *val);
3946 int32_t lsm6dso_sh_slv_cfg_read(stmdev_ctx_t *ctx, uint8_t idx,