| /hal_st-latest/sensor/stmemsc/lsm6dsv16b_STdC/driver/ |
| D | lsm6dsv16b_reg.c | 7032 lsm6dsv16b_z_ofs_usr_t z_ofs_usr; in lsm6dsv16b_xl_offset_mg_set() local 7042 ret = lsm6dsv16b_read_reg(ctx, LSM6DSV16B_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16b_xl_offset_mg_set() 7061 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16b_xl_offset_mg_set() 7076 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16b_xl_offset_mg_set() 7087 z_ofs_usr.z_ofs_usr = 0xFFU; in lsm6dsv16b_xl_offset_mg_set() 7094 ret = lsm6dsv16b_write_reg(ctx, LSM6DSV16B_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16b_xl_offset_mg_set() 7122 lsm6dsv16b_z_ofs_usr_t z_ofs_usr; in lsm6dsv16b_xl_offset_mg_get() local 7131 ret = lsm6dsv16b_read_reg(ctx, LSM6DSV16B_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16b_xl_offset_mg_get() 7144 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in lsm6dsv16b_xl_offset_mg_get() 7150 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in lsm6dsv16b_xl_offset_mg_get()
|
| D | lsm6dsv16b_reg.h | 1308 uint8_t z_ofs_usr : 8; member 1310 uint8_t z_ofs_usr : 8; 2300 lsm6dsv16b_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/lsm6dsv16bx_STdC/driver/ |
| D | lsm6dsv16bx_reg.c | 7629 lsm6dsv16bx_z_ofs_usr_t z_ofs_usr; in lsm6dsv16bx_xl_offset_mg_set() local 7639 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16bx_xl_offset_mg_set() 7658 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16bx_xl_offset_mg_set() 7673 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16bx_xl_offset_mg_set() 7684 z_ofs_usr.z_ofs_usr = 0xFFU; in lsm6dsv16bx_xl_offset_mg_set() 7691 ret = lsm6dsv16bx_write_reg(ctx, LSM6DSV16BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16bx_xl_offset_mg_set() 7719 lsm6dsv16bx_z_ofs_usr_t z_ofs_usr; in lsm6dsv16bx_xl_offset_mg_get() local 7728 ret = lsm6dsv16bx_read_reg(ctx, LSM6DSV16BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16bx_xl_offset_mg_get() 7741 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in lsm6dsv16bx_xl_offset_mg_get() 7747 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in lsm6dsv16bx_xl_offset_mg_get()
|
| D | lsm6dsv16bx_reg.h | 1360 uint8_t z_ofs_usr : 8; member 1362 uint8_t z_ofs_usr : 8; 2524 lsm6dsv16bx_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/ism330bx_STdC/driver/ |
| D | ism330bx_reg.c | 7609 ism330bx_z_ofs_usr_t z_ofs_usr; in ism330bx_xl_offset_mg_set() local 7619 ret = ism330bx_read_reg(ctx, ISM330BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in ism330bx_xl_offset_mg_set() 7638 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in ism330bx_xl_offset_mg_set() 7653 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in ism330bx_xl_offset_mg_set() 7664 z_ofs_usr.z_ofs_usr = 0xFFU; in ism330bx_xl_offset_mg_set() 7671 ret = ism330bx_write_reg(ctx, ISM330BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in ism330bx_xl_offset_mg_set() 7699 ism330bx_z_ofs_usr_t z_ofs_usr; in ism330bx_xl_offset_mg_get() local 7708 ret = ism330bx_read_reg(ctx, ISM330BX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in ism330bx_xl_offset_mg_get() 7721 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in ism330bx_xl_offset_mg_get() 7727 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in ism330bx_xl_offset_mg_get()
|
| D | ism330bx_reg.h | 1360 uint8_t z_ofs_usr : 8; member 1362 uint8_t z_ofs_usr : 8; 2524 ism330bx_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/st1vafe6ax_STdC/driver/ |
| D | st1vafe6ax_reg.c | 7545 st1vafe6ax_z_ofs_usr_t z_ofs_usr; in st1vafe6ax_xl_offset_mg_set() local 7555 ret = st1vafe6ax_read_reg(ctx, ST1VAFE6AX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in st1vafe6ax_xl_offset_mg_set() 7574 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in st1vafe6ax_xl_offset_mg_set() 7589 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in st1vafe6ax_xl_offset_mg_set() 7600 z_ofs_usr.z_ofs_usr = 0xFFU; in st1vafe6ax_xl_offset_mg_set() 7607 ret = st1vafe6ax_write_reg(ctx, ST1VAFE6AX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in st1vafe6ax_xl_offset_mg_set() 7635 st1vafe6ax_z_ofs_usr_t z_ofs_usr; in st1vafe6ax_xl_offset_mg_get() local 7644 ret = st1vafe6ax_read_reg(ctx, ST1VAFE6AX_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in st1vafe6ax_xl_offset_mg_get() 7657 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in st1vafe6ax_xl_offset_mg_get() 7663 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in st1vafe6ax_xl_offset_mg_get()
|
| D | st1vafe6ax_reg.h | 1304 uint8_t z_ofs_usr : 8; member 1306 uint8_t z_ofs_usr : 8; 2465 st1vafe6ax_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/lsm6dsv_STdC/driver/ |
| D | lsm6dsv_reg.c | 307 lsm6dsv_z_ofs_usr_t z_ofs_usr; in lsm6dsv_xl_offset_mg_set() local 314 ret = lsm6dsv_read_reg(ctx, LSM6DSV_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv_xl_offset_mg_set() 330 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv_xl_offset_mg_set() 345 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv_xl_offset_mg_set() 356 z_ofs_usr.z_ofs_usr = 0xFFU; in lsm6dsv_xl_offset_mg_set() 361 ret = lsm6dsv_write_reg(ctx, LSM6DSV_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv_xl_offset_mg_set() 380 lsm6dsv_z_ofs_usr_t z_ofs_usr; in lsm6dsv_xl_offset_mg_get() local 387 ret += lsm6dsv_read_reg(ctx, LSM6DSV_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv_xl_offset_mg_get() 397 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in lsm6dsv_xl_offset_mg_get() 403 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in lsm6dsv_xl_offset_mg_get()
|
| D | lsm6dsv_reg.h | 1582 uint8_t z_ofs_usr : 8; member 1584 uint8_t z_ofs_usr : 8; 3518 lsm6dsv_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/lsm6dsv16x_STdC/driver/ |
| D | lsm6dsv16x_reg.c | 312 lsm6dsv16x_z_ofs_usr_t z_ofs_usr; in lsm6dsv16x_xl_offset_mg_set() local 319 ret = lsm6dsv16x_read_reg(ctx, LSM6DSV16X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16x_xl_offset_mg_set() 335 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16x_xl_offset_mg_set() 350 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv16x_xl_offset_mg_set() 361 z_ofs_usr.z_ofs_usr = 0xFFU; in lsm6dsv16x_xl_offset_mg_set() 366 ret = lsm6dsv16x_write_reg(ctx, LSM6DSV16X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16x_xl_offset_mg_set() 385 lsm6dsv16x_z_ofs_usr_t z_ofs_usr; in lsm6dsv16x_xl_offset_mg_get() local 392 ret += lsm6dsv16x_read_reg(ctx, LSM6DSV16X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv16x_xl_offset_mg_get() 402 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in lsm6dsv16x_xl_offset_mg_get() 408 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in lsm6dsv16x_xl_offset_mg_get()
|
| D | lsm6dsv16x_reg.h | 1626 uint8_t z_ofs_usr : 8; member 1628 uint8_t z_ofs_usr : 8; 3717 lsm6dsv16x_z_ofs_usr_t z_ofs_usr; member
|
| /hal_st-latest/sensor/stmemsc/lsm6dsv32x_STdC/driver/ |
| D | lsm6dsv32x_reg.c | 312 lsm6dsv32x_z_ofs_usr_t z_ofs_usr; in lsm6dsv32x_xl_offset_mg_set() local 319 ret = lsm6dsv32x_read_reg(ctx, LSM6DSV32X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv32x_xl_offset_mg_set() 335 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv32x_xl_offset_mg_set() 350 z_ofs_usr.z_ofs_usr = (uint8_t)tmp; in lsm6dsv32x_xl_offset_mg_set() 361 z_ofs_usr.z_ofs_usr = 0xFFU; in lsm6dsv32x_xl_offset_mg_set() 366 ret = lsm6dsv32x_write_reg(ctx, LSM6DSV32X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv32x_xl_offset_mg_set() 385 lsm6dsv32x_z_ofs_usr_t z_ofs_usr; in lsm6dsv32x_xl_offset_mg_get() local 392 ret += lsm6dsv32x_read_reg(ctx, LSM6DSV32X_Z_OFS_USR, (uint8_t *)&z_ofs_usr, 1); in lsm6dsv32x_xl_offset_mg_get() 402 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.0078125f); in lsm6dsv32x_xl_offset_mg_get() 408 val->z_mg = ((float_t)z_ofs_usr.z_ofs_usr * 0.125f); in lsm6dsv32x_xl_offset_mg_get()
|
| D | lsm6dsv32x_reg.h | 1626 uint8_t z_ofs_usr : 8; member 1628 uint8_t z_ofs_usr : 8; 3717 lsm6dsv32x_z_ofs_usr_t z_ofs_usr; member
|