Home
last modified time | relevance | path

Searched refs:emb_en_b (Results 1 – 4 of 4) sorted by relevance

/hal_st-3.7.0/sensor/stmemsc/lis2dux12_STdC/driver/
Dlis2dux12_reg.c3471 lis2dux12_emb_func_en_b_t emb_en_b; in lis2dux12_mlc_set() local
3479 ret += lis2dux12_read_reg(ctx, LIS2DUX12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2dux12_mlc_set()
3485 emb_en_b.mlc_en = 0; in lis2dux12_mlc_set()
3489 emb_en_b.mlc_en = 1; in lis2dux12_mlc_set()
3493 emb_en_b.mlc_en = 0; in lis2dux12_mlc_set()
3500 ret += lis2dux12_write_reg(ctx, LIS2DUX12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2dux12_mlc_set()
3520 lis2dux12_emb_func_en_b_t emb_en_b; in lis2dux12_mlc_get() local
3528 ret += lis2dux12_read_reg(ctx, LIS2DUX12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2dux12_mlc_get()
3530 if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 0U) in lis2dux12_mlc_get()
3534 else if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 1U) in lis2dux12_mlc_get()
/hal_st-3.7.0/sensor/stmemsc/lis2duxs12_STdC/driver/
Dlis2duxs12_reg.c3610 lis2duxs12_emb_func_en_b_t emb_en_b; in lis2duxs12_mlc_set() local
3618 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2duxs12_mlc_set()
3624 emb_en_b.mlc_en = 0; in lis2duxs12_mlc_set()
3628 emb_en_b.mlc_en = 1; in lis2duxs12_mlc_set()
3632 emb_en_b.mlc_en = 0; in lis2duxs12_mlc_set()
3639 ret += lis2duxs12_write_reg(ctx, LIS2DUXS12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2duxs12_mlc_set()
3659 lis2duxs12_emb_func_en_b_t emb_en_b; in lis2duxs12_mlc_get() local
3667 ret += lis2duxs12_read_reg(ctx, LIS2DUXS12_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lis2duxs12_mlc_get()
3669 if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 0U) in lis2duxs12_mlc_get()
3673 else if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 1U) in lis2duxs12_mlc_get()
/hal_st-3.7.0/sensor/stmemsc/lsm6dsv16bx_STdC/driver/
Dlsm6dsv16bx_reg.c7318 lsm6dsv16bx_emb_func_en_b_t emb_en_b; in lsm6dsv16bx_mlc_set() local
7327 ret += lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16bx_mlc_set()
7333 emb_en_b.mlc_en = 0; in lsm6dsv16bx_mlc_set()
7337 emb_en_b.mlc_en = 1; in lsm6dsv16bx_mlc_set()
7341 emb_en_b.mlc_en = 0; in lsm6dsv16bx_mlc_set()
7348 ret += lsm6dsv16bx_write_reg(ctx, LSM6DSV16BX_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16bx_mlc_set()
7366 lsm6dsv16bx_emb_func_en_b_t emb_en_b; in lsm6dsv16bx_mlc_get() local
7375 ret += lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16bx_mlc_get()
7377 if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 0U) in lsm6dsv16bx_mlc_get()
7381 else if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 1U) in lsm6dsv16bx_mlc_get()
/hal_st-3.7.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c6533 lsm6dsv16x_emb_func_en_b_t emb_en_b; in lsm6dsv16x_mlc_set() local
6539 ret += lsm6dsv16x_read_reg(ctx, LSM6DSV16X_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16x_mlc_set()
6546 emb_en_b.mlc_en = 0; in lsm6dsv16x_mlc_set()
6550 emb_en_b.mlc_en = 1; in lsm6dsv16x_mlc_set()
6554 emb_en_b.mlc_en = 0; in lsm6dsv16x_mlc_set()
6561 ret += lsm6dsv16x_write_reg(ctx, LSM6DSV16X_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16x_mlc_set()
6579 lsm6dsv16x_emb_func_en_b_t emb_en_b; in lsm6dsv16x_mlc_get() local
6585 ret += lsm6dsv16x_read_reg(ctx, LSM6DSV16X_EMB_FUNC_EN_B, (uint8_t *)&emb_en_b, 1); in lsm6dsv16x_mlc_get()
6588 if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 0U) in lsm6dsv16x_mlc_get()
6592 else if (emb_en_a.mlc_before_fsm_en == 0U && emb_en_b.mlc_en == 1U) in lsm6dsv16x_mlc_get()