/hal_st-3.4.0/sensor/stmemsc/iis3dwb_STdC/driver/ |
D | iis3dwb_reg.c | 2468 iis3dwb_fifo_ctrl1_t fifo_ctrl1; in iis3dwb_fifo_watermark_set() local 2476 fifo_ctrl1.wtm = (uint8_t)(0x00FFU & val); in iis3dwb_fifo_watermark_set() 2478 (uint8_t *)&fifo_ctrl1, 1); in iis3dwb_fifo_watermark_set() 2501 iis3dwb_fifo_ctrl1_t fifo_ctrl1; in iis3dwb_fifo_watermark_get() local 2511 (uint8_t *)&fifo_ctrl1, 1); in iis3dwb_fifo_watermark_get() 2515 *val += fifo_ctrl1.wtm; in iis3dwb_fifo_watermark_get()
|
D | iis3dwb_reg.h | 685 iis3dwb_fifo_ctrl1_t fifo_ctrl1; member
|
/hal_st-3.4.0/sensor/stmemsc/asm330lhh_STdC/driver/ |
D | asm330lhh_reg.c | 3607 asm330lhh_fifo_ctrl1_t fifo_ctrl1; in asm330lhh_fifo_watermark_set() local 3623 fifo_ctrl1.wtm = (uint8_t)(val - (fifo_ctrl2.wtm * 256U)); in asm330lhh_fifo_watermark_set() 3625 (uint8_t *)&fifo_ctrl1, 1); in asm330lhh_fifo_watermark_set() 3641 asm330lhh_fifo_ctrl1_t fifo_ctrl1; in asm330lhh_fifo_watermark_get() local 3651 (uint8_t *)&fifo_ctrl1, 1); in asm330lhh_fifo_watermark_get() 3655 *val = (*val * 256U) + fifo_ctrl1.wtm; in asm330lhh_fifo_watermark_get()
|
D | asm330lhh_reg.h | 821 asm330lhh_fifo_ctrl1_t fifo_ctrl1; member
|
/hal_st-3.4.0/sensor/stmemsc/lsm6ds3_STdC/driver/ |
D | lsm6ds3_reg.c | 4047 lsm6ds3_fifo_ctrl1_t fifo_ctrl1; in lsm6ds3_fifo_watermark_set() local 4052 (uint8_t *)&fifo_ctrl1, 1); in lsm6ds3_fifo_watermark_set() 4069 fifo_ctrl1.fth = (uint8_t)(val & 0x00FF0U); in lsm6ds3_fifo_watermark_set() 4071 (uint8_t *)&fifo_ctrl1, 1); in lsm6ds3_fifo_watermark_set() 4087 lsm6ds3_fifo_ctrl1_t fifo_ctrl1; in lsm6ds3_fifo_watermark_get() local 4092 (uint8_t *)&fifo_ctrl1, 1); in lsm6ds3_fifo_watermark_get() 4099 *val |= fifo_ctrl1.fth; in lsm6ds3_fifo_watermark_get()
|
D | lsm6ds3_reg.h | 1510 lsm6ds3_fifo_ctrl1_t fifo_ctrl1; member
|
/hal_st-3.4.0/sensor/stmemsc/asm330lhb_STdC/driver/ |
D | asm330lhb_reg.c | 4478 asm330lhb_fifo_ctrl1_t fifo_ctrl1; in asm330lhb_fifo_watermark_set() local 4492 fifo_ctrl1.wtm = (uint8_t)(val - (fifo_ctrl2.wtm * 256U)); in asm330lhb_fifo_watermark_set() 4494 (uint8_t *)&fifo_ctrl1, 1); in asm330lhb_fifo_watermark_set() 4510 asm330lhb_fifo_ctrl1_t fifo_ctrl1; in asm330lhb_fifo_watermark_get() local 4519 (uint8_t *)&fifo_ctrl1, 1); in asm330lhb_fifo_watermark_get() 4522 *val = (*val * 256U) + fifo_ctrl1.wtm; in asm330lhb_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/iis2iclx_STdC/driver/ |
D | iis2iclx_reg.c | 3869 iis2iclx_fifo_ctrl1_t fifo_ctrl1; in iis2iclx_fifo_watermark_set() local 3878 fifo_ctrl1.wtm = (uint8_t)(0x00FFU & val); in iis2iclx_fifo_watermark_set() 3880 (uint8_t *)&fifo_ctrl1, 1); in iis2iclx_fifo_watermark_set() 3903 iis2iclx_fifo_ctrl1_t fifo_ctrl1; in iis2iclx_fifo_watermark_get() local 3913 (uint8_t *)&fifo_ctrl1, 1); in iis2iclx_fifo_watermark_get() 3918 *val += fifo_ctrl1.wtm; in iis2iclx_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6ds3tr-c_STdC/driver/ |
D | lsm6ds3tr-c_reg.c | 4389 lsm6ds3tr_c_fifo_ctrl1_t fifo_ctrl1; in lsm6ds3tr_c_fifo_watermark_set() local 4398 fifo_ctrl1.fth = (uint8_t)(0x00FFU & val); in lsm6ds3tr_c_fifo_watermark_set() 4401 (uint8_t *)&fifo_ctrl1, 1); in lsm6ds3tr_c_fifo_watermark_set() 4424 lsm6ds3tr_c_fifo_ctrl1_t fifo_ctrl1; in lsm6ds3tr_c_fifo_watermark_get() local 4429 (uint8_t *)&fifo_ctrl1, 1); in lsm6ds3tr_c_fifo_watermark_get() 4437 *val = ((uint16_t)fifo_ctrl2.fth << 8) + (uint16_t)fifo_ctrl1.fth; in lsm6ds3tr_c_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsl_STdC/driver/ |
D | lsm6dsl_reg.c | 4208 lsm6dsl_fifo_ctrl1_t fifo_ctrl1; in lsm6dsl_fifo_watermark_set() local 4217 fifo_ctrl1.fth = (uint8_t)(0x00FFU & val); in lsm6dsl_fifo_watermark_set() 4220 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsl_fifo_watermark_set() 4242 lsm6dsl_fifo_ctrl1_t fifo_ctrl1; in lsm6dsl_fifo_watermark_get() local 4247 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsl_fifo_watermark_get() 4255 *val = ((uint16_t)fifo_ctrl2.fth << 8) + (uint16_t)fifo_ctrl1.fth; in lsm6dsl_fifo_watermark_get()
|
D | lsm6dsl_reg.h | 1618 lsm6dsl_fifo_ctrl1_t fifo_ctrl1; member
|
/hal_st-3.4.0/sensor/stmemsc/ism330dlc_STdC/driver/ |
D | ism330dlc_reg.c | 5238 ism330dlc_fifo_ctrl1_t fifo_ctrl1; in ism330dlc_fifo_watermark_set() local 5247 fifo_ctrl1.fth = (uint8_t)(uint8_t)(val - (fifo_ctrl2.fth * 256U)); in ism330dlc_fifo_watermark_set() 5249 (uint8_t *)&fifo_ctrl1, 1); in ism330dlc_fifo_watermark_set() 5271 ism330dlc_fifo_ctrl1_t fifo_ctrl1; in ism330dlc_fifo_watermark_get() local 5275 (uint8_t *)&fifo_ctrl1, 1); in ism330dlc_fifo_watermark_get() 5284 *val = (*val * 256U) + fifo_ctrl1.fth; in ism330dlc_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv_STdC/driver/ |
D | lsm6dsv_reg.c | 2632 lsm6dsv_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv_fifo_watermark_set() local 2635 ret = lsm6dsv_read_reg(ctx, LSM6DSV_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv_fifo_watermark_set() 2639 fifo_ctrl1.wtm = val; in lsm6dsv_fifo_watermark_set() 2640 ret = lsm6dsv_write_reg(ctx, LSM6DSV_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv_fifo_watermark_set() 2656 lsm6dsv_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv_fifo_watermark_get() local 2659 ret = lsm6dsv_read_reg(ctx, LSM6DSV_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv_fifo_watermark_get() 2660 *val = fifo_ctrl1.wtm; in lsm6dsv_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16bx_STdC/driver/ |
D | lsm6dsv16bx_reg.c | 4703 lsm6dsv16bx_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv16bx_fifo_watermark_set() local 4706 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16bx_fifo_watermark_set() 4710 fifo_ctrl1.wtm = val; in lsm6dsv16bx_fifo_watermark_set() 4711 ret = lsm6dsv16bx_write_reg(ctx, LSM6DSV16BX_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16bx_fifo_watermark_set() 4727 lsm6dsv16bx_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv16bx_fifo_watermark_get() local 4730 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16bx_fifo_watermark_get() 4731 *val = fifo_ctrl1.wtm; in lsm6dsv16bx_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsm_STdC/driver/ |
D | lsm6dsm_reg.c | 5352 lsm6dsm_fifo_ctrl1_t fifo_ctrl1; in lsm6dsm_fifo_watermark_set() local 5361 fifo_ctrl1.fth = (uint8_t)(0x00FFU & val); in lsm6dsm_fifo_watermark_set() 5364 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsm_fifo_watermark_set() 5386 lsm6dsm_fifo_ctrl1_t fifo_ctrl1; in lsm6dsm_fifo_watermark_get() local 5391 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsm_fifo_watermark_get() 5399 *val = ((uint16_t)fifo_ctrl2.fth << 8) + (uint16_t)fifo_ctrl1.fth; in lsm6dsm_fifo_watermark_get()
|
D | lsm6dsm_reg.h | 1705 lsm6dsm_fifo_ctrl1_t fifo_ctrl1; member
|
/hal_st-3.4.0/sensor/stmemsc/asm330lhhx_STdC/driver/ |
D | asm330lhhx_reg.c | 4473 asm330lhhx_fifo_ctrl1_t fifo_ctrl1; in asm330lhhx_fifo_watermark_set() local 4487 fifo_ctrl1.wtm = (uint8_t)(val - (fifo_ctrl2.wtm * 256U)); in asm330lhhx_fifo_watermark_set() 4489 (uint8_t *)&fifo_ctrl1, 1); in asm330lhhx_fifo_watermark_set() 4505 asm330lhhx_fifo_ctrl1_t fifo_ctrl1; in asm330lhhx_fifo_watermark_get() local 4514 (uint8_t *)&fifo_ctrl1, 1); in asm330lhhx_fifo_watermark_get() 4517 *val = (*val * 256U) + fifo_ctrl1.wtm; in asm330lhhx_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32_STdC/driver/ |
D | lsm6dso32_reg.c | 5071 lsm6dso32_fifo_ctrl1_t fifo_ctrl1; in lsm6dso32_fifo_watermark_set() local 5080 fifo_ctrl1.wtm = 0x00FFU & (uint8_t)val; in lsm6dso32_fifo_watermark_set() 5083 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso32_fifo_watermark_set() 5105 lsm6dso32_fifo_ctrl1_t fifo_ctrl1; in lsm6dso32_fifo_watermark_get() local 5110 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso32_fifo_watermark_get() 5116 *val = ((uint16_t)fifo_ctrl2.wtm << 8) + (uint16_t)fifo_ctrl1.wtm; in lsm6dso32_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/ |
D | lsm6dsv16x_reg.c | 2975 lsm6dsv16x_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv16x_fifo_watermark_set() local 2978 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16x_fifo_watermark_set() 2982 fifo_ctrl1.wtm = val; in lsm6dsv16x_fifo_watermark_set() 2983 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16x_fifo_watermark_set() 2999 lsm6dsv16x_fifo_ctrl1_t fifo_ctrl1; in lsm6dsv16x_fifo_watermark_get() local 3002 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_FIFO_CTRL1, (uint8_t *)&fifo_ctrl1, 1); in lsm6dsv16x_fifo_watermark_get() 3003 *val = fifo_ctrl1.wtm; in lsm6dsv16x_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsr_STdC/driver/ |
D | lsm6dsr_reg.c | 6366 lsm6dsr_fifo_ctrl1_t fifo_ctrl1; in lsm6dsr_fifo_watermark_set() local 6375 fifo_ctrl1.wtm = (uint8_t)(0x00FFU & val); in lsm6dsr_fifo_watermark_set() 6377 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsr_fifo_watermark_set() 6400 lsm6dsr_fifo_ctrl1_t fifo_ctrl1; in lsm6dsr_fifo_watermark_get() local 6410 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsr_fifo_watermark_get() 6415 *val += fifo_ctrl1.wtm; in lsm6dsr_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/ism330dhcx_STdC/driver/ |
D | ism330dhcx_reg.c | 6554 ism330dhcx_fifo_ctrl1_t fifo_ctrl1; in ism330dhcx_fifo_watermark_set() local 6569 fifo_ctrl1.wtm = (uint8_t)(val - (fifo_ctrl2.wtm * 256U)); in ism330dhcx_fifo_watermark_set() 6571 (uint8_t *)&fifo_ctrl1, 1); in ism330dhcx_fifo_watermark_set() 6588 ism330dhcx_fifo_ctrl1_t fifo_ctrl1; in ism330dhcx_fifo_watermark_get() local 6597 (uint8_t *)&fifo_ctrl1, 1); in ism330dhcx_fifo_watermark_get() 6601 *val = (*val * 256U) + fifo_ctrl1.wtm;; in ism330dhcx_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsrx_STdC/driver/ |
D | lsm6dsrx_reg.c | 6686 lsm6dsrx_fifo_ctrl1_t fifo_ctrl1; in lsm6dsrx_fifo_watermark_set() local 6702 fifo_ctrl1.wtm = (uint8_t)(val - (fifo_ctrl2.wtm * 256U)); in lsm6dsrx_fifo_watermark_set() 6704 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsrx_fifo_watermark_set() 6720 lsm6dsrx_fifo_ctrl1_t fifo_ctrl1; in lsm6dsrx_fifo_watermark_get() local 6730 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsrx_fifo_watermark_get() 6734 *val = (*val * 256U) + fifo_ctrl1.wtm; in lsm6dsrx_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/ |
D | lsm6dso32x_reg.c | 5127 lsm6dso32x_fifo_ctrl1_t fifo_ctrl1; in lsm6dso32x_fifo_watermark_set() local 5136 fifo_ctrl1.wtm = 0x00FFU & (uint8_t)val; in lsm6dso32x_fifo_watermark_set() 5139 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso32x_fifo_watermark_set() 5162 lsm6dso32x_fifo_ctrl1_t fifo_ctrl1; in lsm6dso32x_fifo_watermark_get() local 5167 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso32x_fifo_watermark_get() 5173 *val = ((uint16_t)fifo_ctrl2.wtm << 8) + (uint16_t)fifo_ctrl1.wtm; in lsm6dso32x_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/ |
D | lsm6dso_reg.c | 6017 lsm6dso_fifo_ctrl1_t fifo_ctrl1; in lsm6dso_fifo_watermark_set() local 6026 fifo_ctrl1.wtm = 0x00FFU & (uint8_t)val; in lsm6dso_fifo_watermark_set() 6029 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso_fifo_watermark_set() 6051 lsm6dso_fifo_ctrl1_t fifo_ctrl1; in lsm6dso_fifo_watermark_get() local 6056 (uint8_t *)&fifo_ctrl1, 1); in lsm6dso_fifo_watermark_get() 6062 *val = ((uint16_t)fifo_ctrl2.wtm << 8) + (uint16_t)fifo_ctrl1.wtm; in lsm6dso_fifo_watermark_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/ |
D | lsm6dsox_reg.c | 6439 lsm6dsox_fifo_ctrl1_t fifo_ctrl1; in lsm6dsox_fifo_watermark_set() local 6448 fifo_ctrl1.wtm = 0x00FFU & (uint8_t)val; in lsm6dsox_fifo_watermark_set() 6451 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsox_fifo_watermark_set() 6473 lsm6dsox_fifo_ctrl1_t fifo_ctrl1; in lsm6dsox_fifo_watermark_get() local 6478 (uint8_t *)&fifo_ctrl1, 1); in lsm6dsox_fifo_watermark_get() 6484 *val = ((uint16_t)fifo_ctrl2.wtm << 8) + (uint16_t)fifo_ctrl1.wtm; in lsm6dsox_fifo_watermark_get()
|