Home
last modified time | relevance | path

Searched refs:fifo_ctrl1 (Results 1 – 25 of 40) sorted by relevance

12

/hal_st-3.4.0/sensor/stmemsc/iis3dwb_STdC/driver/
Diis3dwb_reg.c2468 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()
Diis3dwb_reg.h685 iis3dwb_fifo_ctrl1_t fifo_ctrl1; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhh_STdC/driver/
Dasm330lhh_reg.c3607 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()
Dasm330lhh_reg.h821 asm330lhh_fifo_ctrl1_t fifo_ctrl1; member
/hal_st-3.4.0/sensor/stmemsc/lsm6ds3_STdC/driver/
Dlsm6ds3_reg.c4047 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()
Dlsm6ds3_reg.h1510 lsm6ds3_fifo_ctrl1_t fifo_ctrl1; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhb_STdC/driver/
Dasm330lhb_reg.c4478 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/
Diis2iclx_reg.c3869 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/
Dlsm6ds3tr-c_reg.c4389 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/
Dlsm6dsl_reg.c4208 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()
Dlsm6dsl_reg.h1618 lsm6dsl_fifo_ctrl1_t fifo_ctrl1; member
/hal_st-3.4.0/sensor/stmemsc/ism330dlc_STdC/driver/
Dism330dlc_reg.c5238 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/
Dlsm6dsv_reg.c2632 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/
Dlsm6dsv16bx_reg.c4703 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/
Dlsm6dsm_reg.c5352 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()
Dlsm6dsm_reg.h1705 lsm6dsm_fifo_ctrl1_t fifo_ctrl1; member
/hal_st-3.4.0/sensor/stmemsc/asm330lhhx_STdC/driver/
Dasm330lhhx_reg.c4473 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/
Dlsm6dso32_reg.c5071 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/
Dlsm6dsv16x_reg.c2975 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/
Dlsm6dsr_reg.c6366 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/
Dism330dhcx_reg.c6554 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/
Dlsm6dsrx_reg.c6686 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/
Dlsm6dso32x_reg.c5127 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/
Dlsm6dso_reg.c6017 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/
Dlsm6dsox_reg.c6439 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()

12