105 return ((float_t)lsb * 0.061f);
110 return ((float_t)lsb * 0.122f);
115 return ((float_t)lsb * 0.244f);
120 return ((float_t)lsb * 0.732f);
125 return ((float_t)lsb * 8.75f);
130 return ((float_t)lsb * 17.50f);
135 return ((float_t)lsb * 70.0f);
140 return ((float_t)lsb * 0.14f);
145 return ((float_t)lsb * 0.29f);
150 return ((float_t)lsb * 0.43f);
155 return ((float_t)lsb * 0.58f);
160 return (((float_t)lsb / 16.0f) + 25.0f);
191 (uint8_t *)&ctrl_reg1_g, 1);
195 ctrl_reg1_g.
fs_g = (uint8_t)val;
197 (uint8_t *)&ctrl_reg1_g, 1);
218 (uint8_t *)&ctrl_reg1_g, 1);
220 switch (ctrl_reg1_g.
fs_g)
260 (uint8_t *)&ctrl_reg1_g, 1);
264 ctrl_reg1_g.
odr_g = (uint8_t)val & 0x07U;
266 (uint8_t *)&ctrl_reg1_g, 1);
272 (uint8_t *)&ctrl_reg6_xl, 1);
277 ctrl_reg6_xl.
odr_xl = (((uint8_t)val & 0x70U) >> 4);
279 (uint8_t *)&ctrl_reg6_xl, 1);
285 (uint8_t *)&ctrl_reg3_g, 1);
290 ctrl_reg3_g.
lp_mode = (((uint8_t)val & 0x80U) >> 7);
292 (uint8_t *)&ctrl_reg3_g, 1);
316 (uint8_t *)&ctrl_reg1_g, 1);
321 (uint8_t *)&ctrl_reg6_xl, 1);
327 (uint8_t *)&ctrl_reg3_g, 1);
330 switch ((ctrl_reg3_g.
lp_mode << 7) | (ctrl_reg6_xl.
odr_xl << 4) |
456 (uint8_t *)&orient_cfg_g, 1);
465 (uint8_t *)&orient_cfg_g, 1);
486 (uint8_t *)&orient_cfg_g, 1);
510 (uint8_t *)&status_reg, 1);
511 *val = status_reg.
xlda;
531 (uint8_t *)&status_reg, 1);
532 *val = status_reg.
gda;
552 (uint8_t *)&status_reg, 1);
553 *val = status_reg.
tda;
619 (uint8_t *)&ctrl_reg5_xl, 1);
627 (uint8_t *)&ctrl_reg5_xl, 1);
647 (uint8_t *)&ctrl_reg5_xl, 1);
670 (uint8_t *)&ctrl_reg5_xl, 1);
674 ctrl_reg5_xl.
dec = (uint8_t)val;
676 (uint8_t *)&ctrl_reg5_xl, 1);
697 (uint8_t *)&ctrl_reg5_xl, 1);
699 switch (ctrl_reg5_xl.
dec)
740 (uint8_t *)&ctrl_reg6_xl, 1);
744 ctrl_reg6_xl.
fs_xl = (uint8_t)val;
746 (uint8_t *)&ctrl_reg6_xl, 1);
767 (uint8_t *)&ctrl_reg6_xl, 1);
769 switch (ctrl_reg6_xl.
fs_xl)
812 (uint8_t *)&ctrl_reg8, 1);
816 ctrl_reg8.
bdu = (uint8_t)val;
818 (uint8_t *)&ctrl_reg8, 1);
824 (uint8_t *)&ctrl_reg5_m, 1);
830 ctrl_reg5_m.
bdu = (uint8_t)val;
832 (uint8_t *)&ctrl_reg5_m, 1);
855 (uint8_t *)&ctrl_reg8, 1);
860 (uint8_t *)&ctrl_reg5_m, 1);
861 *val = (uint8_t)(ctrl_reg5_m.bdu & ctrl_reg8.
bdu);
882 buff[1] = (uint8_t)((uint16_t)val[0] / 256U);
883 buff[0] = (uint8_t)((uint16_t)val[0] - (buff[1] * 256U));
884 buff[3] = (uint8_t)((uint16_t)val[1] / 256U);
885 buff[2] = (uint8_t)((uint16_t)val[1] - (buff[3] * 256U));
886 buff[5] = (uint8_t)((uint16_t)val[2] / 256U);
887 buff[4] = (uint8_t)((uint16_t)val[2] - (buff[5] * 256U));
909 val[0] = (int16_t)buff[1];
910 val[0] = (val[0] * 256) + (int16_t)buff[0];
911 val[1] = (int16_t)buff[3];
912 val[1] = (val[1] * 256) + (int16_t)buff[2];
913 val[2] = (int16_t)buff[5];
914 val[2] = (val[2] * 256) + (int16_t)buff[4];
936 (uint8_t *)&ctrl_reg1_m, 1);
940 ctrl_reg1_m.
fast_odr = (((uint8_t)val & 0x08U) >> 3);
941 ctrl_reg1_m.
_do = ((uint8_t)val & 0x07U);
942 ctrl_reg1_m.
om = (((uint8_t)val & 0x30U) >> 4);
945 (uint8_t *)&ctrl_reg1_m, 1);
951 (uint8_t *)&ctrl_reg3_m, 1);
956 ctrl_reg3_m.
md = (((uint8_t)val & 0xC0U) >> 6);
958 (uint8_t *)&ctrl_reg3_m, 1);
964 (uint8_t *)&ctrl_reg4_m, 1);
969 ctrl_reg4_m.
omz = (((uint8_t)val & 0x30U) >> 4);;
971 (uint8_t *)&ctrl_reg4_m, 1);
993 (uint8_t *)&ctrl_reg1_m, 1);
998 (uint8_t *)&ctrl_reg3_m, 1);
1001 switch ((ctrl_reg3_m.
md << 6) | (ctrl_reg1_m.
om << 4) |
1179 (uint8_t *)&ctrl_reg2_m, 1);
1183 ctrl_reg2_m.
fs = (uint8_t)val;
1185 (uint8_t *)&ctrl_reg2_m, 1);
1206 (uint8_t *)&ctrl_reg2_m, 1);
1208 switch (ctrl_reg2_m.
fs)
1249 (uint8_t *)&status_reg_m, 1);
1250 *val = status_reg_m.
zyxda;
1282 val[0] = (int16_t)buff[1];
1283 val[0] = (val[0] * 256) + (int16_t)buff[0];
1303 val[0] = (int16_t)buff[1];
1304 val[0] = (val[0] * 256) + (int16_t)buff[0];
1305 val[1] = (int16_t)buff[3];
1306 val[1] = (val[1] * 256) + (int16_t)buff[2];
1307 val[2] = (int16_t)buff[5];
1308 val[2] = (val[2] * 256) + (int16_t)buff[4];
1328 val[0] = (int16_t)buff[1];
1329 val[0] = (val[0] * 256) + (int16_t)buff[0];
1330 val[1] = (int16_t)buff[3];
1331 val[1] = (val[1] * 256) + (int16_t)buff[2];
1332 val[2] = (int16_t)buff[5];
1333 val[2] = (val[2] * 256) + (int16_t)buff[4];
1353 val[0] = (int16_t)buff[1];
1354 val[0] = (val[0] * 256) + (int16_t)buff[0];
1355 val[1] = (int16_t)buff[3];
1356 val[1] = (val[1] * 256) + (int16_t)buff[2];
1357 val[2] = (int16_t)buff[5];
1358 val[2] = (val[2] * 256) + (int16_t)buff[4];
1377 *val = int_src_m.
mroi;
1410 (uint8_t *) & (buff->
imu), 1);
1415 (uint8_t *) & (buff->
mag), 1);
1466 (uint8_t *)&ctrl_reg8, 1);
1472 (uint8_t *)&ctrl_reg8, 1);
1478 (uint8_t *)&ctrl_reg2_m, 1);
1483 ctrl_reg2_m.
soft_rst = (uint8_t)val;
1485 (uint8_t *)&ctrl_reg2_m, 1);
1509 (uint8_t *)&ctrl_reg8, 1);
1514 (uint8_t *)&ctrl_reg2_m, 1);
1515 *val = (uint8_t)(ctrl_reg2_m.soft_rst | ctrl_reg8.
sw_reset);
1539 (uint8_t *)&ctrl_reg8, 1);
1543 ctrl_reg8.
ble = (uint8_t)val;
1545 (uint8_t *)&ctrl_reg8, 1);
1551 (uint8_t *)&ctrl_reg4_m, 1);
1556 ctrl_reg4_m.
ble = (uint8_t)val;
1558 (uint8_t *)&ctrl_reg4_m, 1);
1582 (uint8_t *)&ctrl_reg8, 1);
1587 (uint8_t *)&ctrl_reg4_m, 1);
1590 switch (ctrl_reg8.
ble & ctrl_reg4_m.
ble)
1626 (uint8_t *)&ctrl_reg8, 1);
1630 ctrl_reg8.
boot = (uint8_t)val;
1632 (uint8_t *)&ctrl_reg8, 1);
1638 (uint8_t *)&ctrl_reg2_m, 1);
1643 ctrl_reg2_m.
reboot = (uint8_t)val;
1645 (uint8_t *)&ctrl_reg2_m, 1);
1669 (uint8_t *)&ctrl_reg8, 1);
1674 (uint8_t *)&ctrl_reg2_m, 1);
1675 *val = (uint8_t)ctrl_reg2_m.reboot & ctrl_reg8.
boot;
1745 (uint8_t *)&ctrl_reg1_g, 1);
1749 ctrl_reg1_g.
bw_g = (uint8_t)val;
1751 (uint8_t *)&ctrl_reg1_g, 1);
1772 (uint8_t *)&ctrl_reg1_g, 1);
1774 switch (ctrl_reg1_g.
bw_g)
1816 (uint8_t *)&ctrl_reg2_g, 1);
1820 ctrl_reg2_g.
out_sel = ((uint8_t)val & 0x03U);
1822 (uint8_t *)&ctrl_reg2_g, 1);
1828 (uint8_t *)&ctrl_reg3_g, 1);
1833 ctrl_reg3_g.
hp_en = (((uint8_t)val & 0x10U) >> 4);
1835 (uint8_t *)&ctrl_reg3_g, 1);
1857 (uint8_t *)&ctrl_reg2_g, 1);
1862 (uint8_t *)&ctrl_reg3_g, 1);
1865 switch ((ctrl_reg3_g.
hp_en << 4) | ctrl_reg2_g.
out_sel)
1907 (uint8_t *)&ctrl_reg2_g, 1);
1911 ctrl_reg2_g.
int_sel = ((uint8_t)val & 0x03U);
1913 (uint8_t *)&ctrl_reg2_g, 1);
1919 (uint8_t *)&ctrl_reg3_g, 1);
1924 ctrl_reg3_g.
hp_en = (((uint8_t)val & 0x10U) >> 4);
1926 (uint8_t *)&ctrl_reg3_g, 1);
1948 (uint8_t *)&ctrl_reg2_g, 1);
1953 (uint8_t *)&ctrl_reg3_g, 1);
1956 switch ((ctrl_reg3_g.
hp_en << 4) | ctrl_reg2_g.
int_sel)
1997 (uint8_t *)&ctrl_reg3_g, 1);
2001 ctrl_reg3_g.
hpcf_g = (uint8_t)val;
2003 (uint8_t *)&ctrl_reg3_g, 1);
2024 (uint8_t *)&ctrl_reg3_g, 1);
2026 switch (ctrl_reg3_g.
hpcf_g)
2091 (uint8_t *)&ctrl_reg6_xl, 1);
2095 ctrl_reg6_xl.
bw_xl = ((uint8_t)val & 0x03U);
2096 ctrl_reg6_xl.
bw_scal_odr = (((uint8_t)val & 0x10U) >> 4);
2098 (uint8_t *)&ctrl_reg6_xl, 1);
2119 (uint8_t *)&ctrl_reg6_xl, 1);
2166 (uint8_t *)&ctrl_reg7_xl, 1);
2170 ctrl_reg7_xl.
hpis1 = (uint8_t)val;
2172 (uint8_t *)&ctrl_reg7_xl, 1);
2193 (uint8_t *)&ctrl_reg7_xl, 1);
2195 switch (ctrl_reg7_xl.
hpis1)
2228 (uint8_t *)&ctrl_reg7_xl, 1);
2232 ctrl_reg7_xl.
fds = (uint8_t)val;
2234 (uint8_t *)&ctrl_reg7_xl, 1);
2255 (uint8_t *)&ctrl_reg7_xl, 1);
2257 switch (ctrl_reg7_xl.
fds)
2291 (uint8_t *)&ctrl_reg7_xl, 1);
2295 ctrl_reg7_xl.
hr = ((uint8_t)val & 0x10U) >> 4;
2296 ctrl_reg7_xl.
dcf = ((uint8_t)val & 0x03U);
2298 (uint8_t *)&ctrl_reg7_xl, 1);
2320 (uint8_t *)&ctrl_reg7_xl, 1);
2322 switch ((ctrl_reg7_xl.
hr << 4) + ctrl_reg7_xl.
dcf)
2368 (uint8_t *)&ctrl_reg7_xl, 1);
2372 ctrl_reg7_xl.
dcf = (uint8_t)val;
2374 (uint8_t *)&ctrl_reg7_xl, 1);
2396 (uint8_t *)&ctrl_reg7_xl, 1);
2398 switch (ctrl_reg7_xl.
dcf)
2545 (uint8_t *)&ctrl_reg8, 1);
2549 ctrl_reg8.
sim = (uint8_t)val;
2551 (uint8_t *)&ctrl_reg8, 1);
2557 (uint8_t *)&ctrl_reg3_m, 1);
2562 ctrl_reg3_m.
sim = (uint8_t)val;
2564 (uint8_t *)&ctrl_reg3_m, 1);
2588 (uint8_t *)&ctrl_reg8, 1);
2593 (uint8_t *)&ctrl_reg3_m, 1);
2596 switch (ctrl_reg8.
sim & ctrl_reg3_m.
sim)
2632 (uint8_t *)&ctrl_reg9, 1);
2638 (uint8_t *)&ctrl_reg9, 1);
2644 (uint8_t *)&ctrl_reg3_m, 1);
2651 (uint8_t *)&ctrl_reg3_m, 1);
2675 (uint8_t *)&ctrl_reg9, 1);
2680 (uint8_t *)&ctrl_reg3_m, 1);
2730 (uint8_t *)&int_gen_cfg_xl, 1);
2734 int_gen_cfg_xl.
aoi_xl = (uint8_t)val;
2736 (uint8_t *)&int_gen_cfg_xl, 1);
2742 (uint8_t *)&int_gen_cfg_g, 1);
2747 int_gen_cfg_g.
aoi_g = (uint8_t)val;
2749 (uint8_t *)&int_gen_cfg_g, 1);
2771 (uint8_t *)&int_gen_cfg_xl, 1);
2776 (uint8_t *)&int_gen_cfg_g, 1);
2779 switch (int_gen_cfg_xl.
aoi_xl & int_gen_cfg_g.
aoi_g)
2932 (uint8_t *)&ctrl_reg4, 1);
2936 ctrl_reg4.
lir_xl1 = (uint8_t)val;
2938 (uint8_t *)&ctrl_reg4, 1);
2944 (uint8_t *)&int_gen_cfg_g, 1);
2949 int_gen_cfg_g.
lir_g = (uint8_t)val;
2951 (uint8_t *)&int_gen_cfg_g, 1);
2957 (uint8_t *)&int_cfg_m, 1);
2962 int_cfg_m.
iel = (uint8_t)~(uint32_t)val;
2964 (uint8_t *)&int_cfg_m, 1);
2989 (uint8_t *)&ctrl_reg4, 1);
2994 (uint8_t *)&int_gen_cfg_g, 1);
3000 (uint8_t *)&int_cfg_m, 1);
3003 switch ((uint8_t)((uint8_t)(~(uint32_t)int_cfg_m.
iel) & int_gen_cfg_g.
lir_g) & ctrl_reg4.
lir_xl1)
3037 ctrl_reg8.
pp_od = (uint8_t)val;
3059 switch (ctrl_reg8.
pp_od)
3117 val->
ien = int_cfg_m.
ien;
3140 (uint8_t *)&int_cfg_m, 1);
3144 int_cfg_m.
iea = (uint8_t)val;
3146 (uint8_t *)&int_cfg_m, 1);
3152 (uint8_t *)&ctrl_reg8, 1);
3157 ctrl_reg8.
h_lactive = (uint8_t)~(uint32_t)val;
3159 (uint8_t *)&ctrl_reg8, 1);
3183 (uint8_t *)&int_cfg_m, 1);
3188 (uint8_t *)&ctrl_reg8, 1);
3191 switch ((uint8_t)(int_cfg_m.
iea & (uint8_t)(~(uint32_t)ctrl_reg8.
h_lactive)))
3238 (uint8_t *)&int_gen_cfg_xl, 1);
3249 (uint8_t *)&int_gen_cfg_xl, 1);
3271 (uint8_t *)&int_gen_cfg_xl, 1);
3331 (uint8_t *)&int_gen_dur_xl, 1);
3335 int_gen_dur_xl.
dur_xl = (uint8_t)val;
3348 (uint8_t *)&int_gen_dur_xl, 1);
3369 (uint8_t *)&int_gen_dur_xl, 1);
3370 *val = (uint8_t)int_gen_dur_xl.
dur_xl;
3390 (uint8_t *)&int_gen_src_g, 1);
3417 (uint8_t *)&int_gen_src_xl, 1);
3445 (uint8_t *)&int_gen_cfg_g, 1);
3456 (uint8_t *)&int_gen_cfg_g, 1);
3478 (uint8_t *)&int_gen_cfg_g, 1);
3504 (uint8_t *)&int_gen_ths_xh_g, 1);
3508 int_gen_ths_xh_g.
dcrm_g = (uint8_t)val;
3510 (uint8_t *)&int_gen_ths_xh_g, 1);
3531 (uint8_t *)&int_gen_ths_xh_g, 1);
3533 switch (int_gen_ths_xh_g.
dcrm_g)
3566 (uint8_t *)&int_gen_ths_xh_g, 1);
3570 int_gen_ths_xh_g.
ths_g_x = (uint8_t)((val & 0x7F00U) >> 8);
3572 (uint8_t *)&int_gen_ths_xh_g, 1);
3578 (uint8_t *)&int_gen_ths_xl_g, 1);
3583 int_gen_ths_xl_g.
ths_g_x = (uint8_t)(val & 0x00FFU);
3585 (uint8_t *)&int_gen_ths_xl_g, 1);
3606 (uint8_t *)&int_gen_ths_xh_g, 1);
3611 (uint8_t *)&int_gen_ths_xl_g, 1);
3614 *val = int_gen_ths_xh_g.
ths_g_x;
3616 *val += int_gen_ths_xl_g.
ths_g_x;
3637 (uint8_t *)&int_gen_ths_yh_g, 1);
3641 int_gen_ths_yh_g.
ths_g_y = (uint8_t)((val & 0x7F00U) >> 8);
3643 (uint8_t *)&int_gen_ths_yh_g, 1);
3649 (uint8_t *)&int_gen_ths_yl_g, 1);
3654 int_gen_ths_yl_g.
ths_g_y = (uint8_t)(val & 0x00FFU);
3656 (uint8_t *)&int_gen_ths_yl_g, 1);
3677 (uint8_t *)&int_gen_ths_yh_g, 1);
3682 (uint8_t *)&int_gen_ths_yl_g, 1);
3685 *val = (uint8_t)int_gen_ths_yh_g.
ths_g_y;
3687 *val += int_gen_ths_yl_g.
ths_g_y;
3707 (uint8_t *)&int_gen_ths_zh_g, 1);
3711 int_gen_ths_zh_g.
ths_g_z = (uint8_t)((val & 0x7F00U) >> 8);
3713 (uint8_t *)&int_gen_ths_zh_g, 1);
3719 (uint8_t *)&int_gen_ths_zl_g, 1);
3724 int_gen_ths_zl_g.
ths_g_z = (uint8_t)(val & 0x00FFU);
3726 (uint8_t *)&int_gen_ths_zl_g, 1);
3747 (uint8_t *)&int_gen_ths_zh_g, 1);
3752 (uint8_t *)&int_gen_ths_zl_g, 1);
3755 *val = int_gen_ths_zh_g.
ths_g_z;
3757 *val += int_gen_ths_zl_g.
ths_g_z;
3777 (uint8_t *)&int_gen_dur_g, 1);
3791 int_gen_dur_g.
dur_g = (uint8_t)val;
3793 (uint8_t *)&int_gen_dur_g, 1);
3814 (uint8_t *)&int_gen_dur_g, 1);
3815 *val = (uint8_t)int_gen_dur_g.
dur_g;
3910 (uint8_t *)&int_ths_l_m, 1);
3915 (uint8_t *)&int_ths_h_m, 1);
3918 *val = int_ths_h_m.
ths;
3920 *val += int_ths_l_m.
ths;
3955 act_ths.
act_ths = (uint8_t)val;
3976 *val = (uint8_t)act_ths.
act_ths;
4011 ctrl_reg9.
sleep_g = (uint8_t)val;
4106 (uint8_t *)&status_reg, 1);
4108 switch (status_reg.
inact)
4154 (uint8_t *)&int_gen_cfg_xl, 1);
4158 int_gen_cfg_xl.
_6d = ((uint8_t)val & 0x01U);
4159 int_gen_cfg_xl.
aoi_xl = (((uint8_t)val & 0x02U) >> 1);
4161 (uint8_t *)&int_gen_cfg_xl, 1);
4167 (uint8_t *)&ctrl_reg4, 1);
4172 ctrl_reg4.
_4d_xl1 = (((uint8_t)val & 0x04U) >> 2);
4174 (uint8_t *)&ctrl_reg4, 1);
4195 (uint8_t *)&int_gen_cfg_xl, 1);
4200 (uint8_t *)&ctrl_reg4, 1);
4203 switch ((ctrl_reg4.
_4d_xl1 << 2) | (int_gen_cfg_xl.
aoi_xl << 1)
4282 (uint8_t *)&int_gen_src_xl, 1);
4371 ctrl_reg9.
fifo_en = (((uint8_t)val & 0x10U) >> 4);
4382 fifo_ctrl.
fmode = ((uint8_t)val & 0x0FU);
4505 fifo_ctrl.
fth = (uint8_t)val;
4526 *val = (uint8_t)fifo_ctrl.
fth;
4545 *val = fifo_src.
fss;
4564 *val = fifo_src.
fss;
4583 *val = fifo_src.
ovrn;
4602 *val = fifo_src.
fth;
4634 (uint8_t *)&ctrl_reg10, 1);
4638 ctrl_reg10.
st_xl = (uint8_t)val;
4640 (uint8_t *)&ctrl_reg10, 1);
4660 (uint8_t *)&ctrl_reg10, 1);
4661 *val = (uint8_t)ctrl_reg10.
st_xl;
4680 (uint8_t *)&ctrl_reg10, 1);
4684 ctrl_reg10.
st_g = (uint8_t)val;
4686 (uint8_t *)&ctrl_reg10, 1);
4706 (uint8_t *)&ctrl_reg10, 1);
4707 *val = (uint8_t)ctrl_reg10.
st_g;
4726 (uint8_t *)&ctrl_reg1_m, 1);
4730 ctrl_reg1_m.
st = (uint8_t)val;
4732 (uint8_t *)&ctrl_reg1_m, 1);
4752 (uint8_t *)&ctrl_reg1_m, 1);
4753 *val = (uint8_t)ctrl_reg1_m.
st;
int32_t lsm9ds1_dev_data_format_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_ble_t val)
Big/Little Endian data selection.
int32_t lsm9ds1_dev_reset_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t *val)
Software reset.
int32_t lsm9ds1_dev_reset_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t val)
Software reset.
int32_t lsm9ds1_dev_boot_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t val)
Reboot memory content.
int32_t lsm9ds1_dev_id_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_id_t *buff)
DeviceWhoamI.
int32_t lsm9ds1_dev_status_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_status_t *val)
Device status register.
int32_t lsm9ds1_dev_boot_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t *val)
Reboot memory content.
int32_t lsm9ds1_dev_data_format_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_ble_t *val)
Big/Little Endian data selection.
int32_t lsm9ds1_block_data_update_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t val)
Blockdataupdate.
int32_t lsm9ds1_xl_full_scale_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_fs_t val)
Accelerometer full-scale selection.
int32_t lsm9ds1_xl_full_scale_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_fs_t *val)
Accelerometer full-scale selection.
int32_t lsm9ds1_gy_full_scale_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_fs_t *val)
Gyroscope full-scale selection.
int32_t lsm9ds1_xl_axis_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_axis_t *val)
Enable accelerometer axis.
int32_t lsm9ds1_mag_data_rate_set(const stmdev_ctx_t *ctx, lsm9ds1_mag_data_rate_t val)
Magnetometer data rate selection.
int32_t lsm9ds1_mag_offset_set(const stmdev_ctx_t *ctx, int16_t *val)
This register is a 16-bit register and represents the X offset used to compensate environmental effec...
int32_t lsm9ds1_mag_full_scale_set(const stmdev_ctx_t *ctx, lsm9ds1_mag_fs_t val)
Magnetometer full Scale Selection.
int32_t lsm9ds1_gy_orient_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_orient_t *val)
Configure gyro orientation.
int32_t lsm9ds1_mag_data_rate_get(const stmdev_ctx_t *ctx, lsm9ds1_mag_data_rate_t *val)
Magnetometer data rate selection.
int32_t lsm9ds1_mag_full_scale_get(const stmdev_ctx_t *ctx, lsm9ds1_mag_fs_t *val)
Magnetometer full scale selection.
int32_t lsm9ds1_gy_full_scale_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_fs_t val)
Gyroscope full-scale selection.
int32_t lsm9ds1_xl_axis_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_axis_t val)
Enable accelerometer axis.
int32_t lsm9ds1_imu_data_rate_set(const stmdev_ctx_t *ctx, lsm9ds1_imu_odr_t val)
Data rate selection when both the accelerometer and gyroscope are activated.
int32_t lsm9ds1_gy_flag_data_ready_get(const stmdev_ctx_t *ctx, uint8_t *val)
Gyroscope new data available.
int32_t lsm9ds1_mag_flag_data_ready_get(const stmdev_ctx_t *ctx, uint8_t *val)
New data available from magnetometer.
int32_t lsm9ds1_gy_axis_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_axis_t *val)
Enable gyroscope axis.
int32_t lsm9ds1_block_data_update_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, uint8_t *val)
Blockdataupdate.
int32_t lsm9ds1_imu_data_rate_get(const stmdev_ctx_t *ctx, lsm9ds1_imu_odr_t *val)
Data rate selection when both the accelerometer and gyroscope are activated.
int32_t lsm9ds1_gy_orient_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_orient_t val)
Configure gyro orientation.
int32_t lsm9ds1_mag_offset_get(const stmdev_ctx_t *ctx, int16_t *val)
This register is a 16-bit register and represents the X offset used to compensate environmental effec...
int32_t lsm9ds1_gy_axis_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_axis_t val)
Enable gyroscope axis.
int32_t lsm9ds1_xl_decimation_set(const stmdev_ctx_t *ctx, lsm9ds1_dec_t val)
Decimation of acceleration data on OUT REG and FIFO.
int32_t lsm9ds1_xl_decimation_get(const stmdev_ctx_t *ctx, lsm9ds1_dec_t *val)
Decimation of acceleration data on OUT REG and FIFO.
int32_t lsm9ds1_xl_flag_data_ready_get(const stmdev_ctx_t *ctx, uint8_t *val)
Accelerometer new data available.
int32_t lsm9ds1_temp_flag_data_ready_get(const stmdev_ctx_t *ctx, uint8_t *val)
Temperature new data available.
int32_t lsm9ds1_magnetic_raw_get(const stmdev_ctx_t *ctx, int16_t *val)
Magnetic sensor.
int32_t lsm9ds1_temperature_raw_get(const stmdev_ctx_t *ctx, int16_t *val)
Temperature data output register (r).
int32_t lsm9ds1_magnetic_overflow_get(const stmdev_ctx_t *ctx, uint8_t *val)
Internal measurement range overflow on magnetic value.
int32_t lsm9ds1_angular_rate_raw_get(const stmdev_ctx_t *ctx, int16_t *val)
Angular rate sensor.
int32_t lsm9ds1_acceleration_raw_get(const stmdev_ctx_t *ctx, int16_t *val)
Linear acceleration output register.
int32_t lsm9ds1_fifo_stop_on_wtm_get(const stmdev_ctx_t *ctx, uint8_t *val)
Sensing chain FIFO stop values memorization at threshold level.
int32_t lsm9ds1_fifo_full_flag_get(const stmdev_ctx_t *ctx, uint8_t *val)
FIFOfullstatus.
int32_t lsm9ds1_fifo_data_level_get(const stmdev_ctx_t *ctx, uint8_t *val)
Number of unread words (16-bit axes) stored in FIFO.
int32_t lsm9ds1_fifo_temp_batch_get(const stmdev_ctx_t *ctx, uint8_t *val)
Batching of temperature data.
int32_t lsm9ds1_fifo_stop_on_wtm_set(const stmdev_ctx_t *ctx, uint8_t val)
Sensing chain FIFO stop values memorization at threshold level.
int32_t lsm9ds1_fifo_mode_get(const stmdev_ctx_t *ctx, lsm9ds1_fifo_md_t *val)
FIFO mode selection.
int32_t lsm9ds1_fifo_mode_set(const stmdev_ctx_t *ctx, lsm9ds1_fifo_md_t val)
FIFO mode selection.
int32_t lsm9ds1_fifo_temp_batch_set(const stmdev_ctx_t *ctx, uint8_t val)
Batching of temperature data.
int32_t lsm9ds1_fifo_watermark_get(const stmdev_ctx_t *ctx, uint8_t *val)
FIFO watermark level selection.
int32_t lsm9ds1_fifo_ovr_flag_get(const stmdev_ctx_t *ctx, uint8_t *val)
FIFO overrun status.
int32_t lsm9ds1_fifo_watermark_set(const stmdev_ctx_t *ctx, uint8_t val)
FIFO watermark level selection.
int32_t lsm9ds1_fifo_wtm_flag_get(const stmdev_ctx_t *ctx, uint8_t *val)
FIFO watermark status.
int32_t lsm9ds1_gy_filter_hp_bandwidth_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_hp_bw_t val)
Gyroscope high-pass filter bandwidth selection.
int32_t lsm9ds1_gy_filter_int_path_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_int_path_t val)
Gyro interrupt filter path configuration.
int32_t lsm9ds1_xl_filter_hp_bandwidth_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_hp_bw_t *val)
Accelerometer digital filter high pass cutoff frequency selection.
int32_t lsm9ds1_gy_filter_hp_bandwidth_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_hp_bw_t *val)
Gyroscope high-pass filter bandwidth selection.
int32_t lsm9ds1_xl_filter_out_path_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_out_path_t *val)
Accelerometer output filter path configuration.
int32_t lsm9ds1_gy_filter_out_path_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_out_path_t *val)
Gyro output filter path configuration.
int32_t lsm9ds1_filter_settling_mask_get(const stmdev_ctx_t *ctx, uint8_t *val)
Mask DRDY on pin (both XL & Gyro) until filter settling ends.
int32_t lsm9ds1_gy_filter_lp_bandwidth_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_lp_bw_t val)
Gyroscope lowpass filter bandwidth selection.
int32_t lsm9ds1_xl_filter_hp_bandwidth_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_hp_bw_t val)
Accelerometer digital filter high pass cutoff frequency selection.
int32_t lsm9ds1_gy_filter_int_path_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_int_path_t *val)
Gyro interrupt filter path configuration.
int32_t lsm9ds1_xl_filter_int_path_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_hp_path_t *val)
int32_t lsm9ds1_gy_filter_out_path_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_out_path_t val)
Gyro output filter path configuration.
int32_t lsm9ds1_gy_filter_reference_set(const stmdev_ctx_t *ctx, uint8_t *buff)
Reference value for gyroscope’s digital high-pass filter.
int32_t lsm9ds1_xl_filter_aalias_bandwidth_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_aa_bw_t *val)
Configure accelerometer anti aliasing filter.
int32_t lsm9ds1_xl_filter_lp_bandwidth_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_lp_bw_t *val)
Accelerometer digital filter low pass cutoff frequency selection.
int32_t lsm9ds1_xl_filter_aalias_bandwidth_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_aa_bw_t val)
Configure accelerometer anti aliasing filter.
int32_t lsm9ds1_filter_settling_mask_set(const stmdev_ctx_t *ctx, uint8_t val)
Mask DRDY on pin (both XL & Gyro) until filter settling ends.
int32_t lsm9ds1_xl_filter_int_path_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_hp_path_t val)
Configure HP accelerometer filter.
int32_t lsm9ds1_gy_filter_reference_get(const stmdev_ctx_t *ctx, uint8_t *buff)
Reference value for gyroscope’s digital high-pass filter.
int32_t lsm9ds1_xl_filter_lp_bandwidth_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_lp_bw_t val)
Accelerometer digital filter low pass cutoff frequency selection.
int32_t lsm9ds1_xl_filter_out_path_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_out_path_t val)
Accelerometer output filter path configuration.
int32_t lsm9ds1_gy_filter_lp_bandwidth_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_lp_bw_t *val)
Gyroscope lowpass filter bandwidth selection.
int32_t lsm9ds1_write_reg(const stmdev_ctx_t *ctx, uint8_t reg, uint8_t *data, uint16_t len)
Write generic device register.
int32_t lsm9ds1_read_reg(const stmdev_ctx_t *ctx, uint8_t reg, uint8_t *data, uint16_t len)
Read generic device register.
int32_t lsm9ds1_mag_trshld_axis_get(const stmdev_ctx_t *ctx, lsm9ds1_mag_trshld_axis_t *val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_xl_trshld_src_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_trshld_src_t *val)
Accelerometer interrupt on threshold source.
int32_t lsm9ds1_mag_trshld_get(const stmdev_ctx_t *ctx, uint8_t *val)
The value is expressed in 15-bit unsigned.
int32_t lsm9ds1_mag_trshld_axis_set(const stmdev_ctx_t *ctx, lsm9ds1_mag_trshld_axis_t val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_gy_trshld_min_sample_set(const stmdev_ctx_t *ctx, uint8_t val)
Enter/exit interrupt duration value.
int32_t lsm9ds1_gy_trshld_mode_set(const stmdev_ctx_t *ctx, lsm9ds1_dcrm_g_t val)
Decrement or reset counter mode selection.
int32_t lsm9ds1_gy_trshld_mode_get(const stmdev_ctx_t *ctx, lsm9ds1_dcrm_g_t *val)
Decrement or reset counter mode selection.
int32_t lsm9ds1_gy_trshld_axis_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_trshld_en_t *val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_gy_trshld_x_get(const stmdev_ctx_t *ctx, uint16_t *val)
Angular rate sensor interrupt threshold on pitch (X) axis.
int32_t lsm9ds1_gy_trshld_x_set(const stmdev_ctx_t *ctx, uint16_t val)
Angular rate sensor interrupt threshold on pitch (X) axis.
int32_t lsm9ds1_xl_trshld_min_sample_set(const stmdev_ctx_t *ctx, uint8_t val)
Enter/exit interrupt duration value.
int32_t lsm9ds1_xl_trshld_min_sample_get(const stmdev_ctx_t *ctx, uint8_t *val)
Enter/exit interrupt duration value.
int32_t lsm9ds1_mag_trshld_src_get(const stmdev_ctx_t *ctx, lsm9ds1_mag_trshld_src_t *val)
Magnetometer interrupt on threshold source.
int32_t lsm9ds1_xl_trshld_get(const stmdev_ctx_t *ctx, uint8_t *buff)
Axis interrupt threshold.
int32_t lsm9ds1_gy_trshld_y_get(const stmdev_ctx_t *ctx, uint16_t *val)
Angular rate sensor interrupt threshold on roll (Y) axis.
int32_t lsm9ds1_gy_trshld_axis_set(const stmdev_ctx_t *ctx, lsm9ds1_gy_trshld_en_t val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_gy_trshld_src_get(const stmdev_ctx_t *ctx, lsm9ds1_gy_trshld_src_t *val)
Angular rate sensor interrupt on threshold source.
int32_t lsm9ds1_xl_trshld_axis_get(const stmdev_ctx_t *ctx, lsm9ds1_xl_trshld_en_t *val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_xl_trshld_set(const stmdev_ctx_t *ctx, uint8_t *buff)
Axis interrupt threshold.
int32_t lsm9ds1_gy_trshld_y_set(const stmdev_ctx_t *ctx, uint16_t val)
Angular rate sensor interrupt threshold on roll (Y) axis.
int32_t lsm9ds1_gy_trshld_min_sample_get(const stmdev_ctx_t *ctx, uint8_t *val)
Enter/exit interrupt duration value.
int32_t lsm9ds1_gy_trshld_z_set(const stmdev_ctx_t *ctx, uint16_t val)
Angular rate sensor interrupt thresholds on yaw (Z) axis.
int32_t lsm9ds1_xl_trshld_axis_set(const stmdev_ctx_t *ctx, lsm9ds1_xl_trshld_en_t val)
Enable interrupt generation on threshold event.
int32_t lsm9ds1_gy_trshld_z_get(const stmdev_ctx_t *ctx, uint16_t *val)
Angular rate sensor interrupt thresholds on yaw (Z) axis.
int32_t lsm9ds1_pin_polarity_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_polarity_t *val)
Configure the interrupt pin polarity.
int32_t lsm9ds1_pin_logic_set(const stmdev_ctx_t *ctx, lsm9ds1_pin_logic_t val)
AND/OR combination of accelerometer’s interrupt events.
int32_t lsm9ds1_pin_int_m_route_get(const stmdev_ctx_t *ctx, lsm9ds1_pin_m_route_t *val)
Route a signal on INT_M pin.
int32_t lsm9ds1_pin_int1_route_get(const stmdev_ctx_t *ctx, lsm9ds1_pin_int1_route_t *val)
Route a signal on INT 1_A/G pin.
int32_t lsm9ds1_pin_int2_route_set(const stmdev_ctx_t *ctx, lsm9ds1_pin_int2_route_t val)
Route a signal on INT 2_A/G pin.
int32_t lsm9ds1_pin_logic_get(const stmdev_ctx_t *ctx, lsm9ds1_pin_logic_t *val)
AND/OR combination of accelerometer’s interrupt events.
int32_t lsm9ds1_pin_mode_get(const stmdev_ctx_t *ctx, lsm9ds1_pp_od_t *val)
Push-pull/open drain selection on interrupt pads.
int32_t lsm9ds1_pin_polarity_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_polarity_t val)
Configure the interrupt pin polarity.
int32_t lsm9ds1_pin_int_m_route_set(const stmdev_ctx_t *ctx, lsm9ds1_pin_m_route_t val)
Route a signal on INT_M pin.
int32_t lsm9ds1_pin_mode_set(const stmdev_ctx_t *ctx, lsm9ds1_pp_od_t val)
Push-pull/open drain selection on interrupt pads.
int32_t lsm9ds1_pin_notification_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_lir_t val)
Latched/pulsed interrupt.
int32_t lsm9ds1_pin_int1_route_set(const stmdev_ctx_t *ctx, lsm9ds1_pin_int1_route_t val)
Route a signal on INT 1_A/G pin.
int32_t lsm9ds1_pin_notification_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_lir_t *val)
Configure the interrupt notification mode.
int32_t lsm9ds1_pin_int2_route_get(const stmdev_ctx_t *ctx, lsm9ds1_pin_int2_route_t *val)
Route a signal on INT 2_A/G pin.
int32_t lsm9ds1_mag_self_test_set(const stmdev_ctx_t *ctx, uint8_t val)
Enable/disable self-test mode for magnatic sensor.
int32_t lsm9ds1_gy_self_test_set(const stmdev_ctx_t *ctx, uint8_t val)
Enable/disable self-test mode for gyroscope.
int32_t lsm9ds1_xl_self_test_get(const stmdev_ctx_t *ctx, uint8_t *val)
Enable/disable self-test mode for accelerometer.
int32_t lsm9ds1_mag_self_test_get(const stmdev_ctx_t *ctx, uint8_t *val)
Enable/disable self-test mode for magnatic sensor.
int32_t lsm9ds1_gy_self_test_get(const stmdev_ctx_t *ctx, uint8_t *val)
Enable/disable self-test mode for gyroscope.
int32_t lsm9ds1_xl_self_test_set(const stmdev_ctx_t *ctx, uint8_t val)
Enable/disable self-test mode for accelerometer.
float_t lsm9ds1_from_fs12gauss_to_mG(int16_t lsb)
float_t lsm9ds1_from_fs2g_to_mg(int16_t lsb)
float_t lsm9ds1_from_fs245dps_to_mdps(int16_t lsb)
float_t lsm9ds1_from_fs16g_to_mg(int16_t lsb)
float_t lsm9ds1_from_fs2000dps_to_mdps(int16_t lsb)
float_t lsm9ds1_from_fs8g_to_mg(int16_t lsb)
float_t lsm9ds1_from_fs4g_to_mg(int16_t lsb)
float_t lsm9ds1_from_fs500dps_to_mdps(int16_t lsb)
float_t lsm9ds1_from_fs16gauss_to_mG(int16_t lsb)
float_t lsm9ds1_from_fs4gauss_to_mG(int16_t lsb)
float_t lsm9ds1_from_lsb_to_celsius(int16_t lsb)
float_t lsm9ds1_from_fs8gauss_to_mG(int16_t lsb)
int32_t lsm9ds1_spi_mode_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_sim_t val)
SPI Serial Interface Mode selection.
int32_t lsm9ds1_auto_increment_set(const stmdev_ctx_t *ctx, uint8_t val)
Register address automatically incremented during a multiple byte access with a serial interface.
int32_t lsm9ds1_auto_increment_get(const stmdev_ctx_t *ctx, uint8_t *val)
Register address automatically incremented during a multiple byte access with a serial interface.
int32_t lsm9ds1_spi_mode_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_sim_t *val)
SPI Serial Interface Mode selection.
int32_t lsm9ds1_i2c_interface_set(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_i2c_dis_t val)
Enable / Disable I2C interface.
int32_t lsm9ds1_i2c_interface_get(const stmdev_ctx_t *ctx_mag, stmdev_ctx_t *ctx_imu, lsm9ds1_i2c_dis_t *val)
Enable / Disable I2C interface.
int32_t lsm9ds1_act_duration_get(const stmdev_ctx_t *ctx, uint8_t *buff)
Inactivity duration in number of sample.
int32_t lsm9ds1_act_duration_set(const stmdev_ctx_t *ctx, uint8_t *buff)
Inactivity duration in number of sample.
int32_t lsm9ds1_act_mode_set(const stmdev_ctx_t *ctx, lsm9ds1_act_mode_t val)
Gyroscope operating mode during inactivity.
int32_t lsm9ds1_act_threshold_set(const stmdev_ctx_t *ctx, uint8_t val)
Inactivity threshold.
int32_t lsm9ds1_6d_mode_get(const stmdev_ctx_t *ctx, lsm9ds1_6d_mode_t *val)
6D feature working mode.
int32_t lsm9ds1_6d_threshold_get(const stmdev_ctx_t *ctx, uint8_t *buff)
6D functionality axis interrupt threshold.
int32_t lsm9ds1_6d_threshold_set(const stmdev_ctx_t *ctx, uint8_t *buff)
6D functionality axis interrupt threshold.
int32_t lsm9ds1_6d_src_get(const stmdev_ctx_t *ctx, lsm9ds1_6d_src_t *val)
int32_t lsm9ds1_act_src_get(const stmdev_ctx_t *ctx, lsm9ds1_inact_t *val)
Inactivity interrupt output signal.
int32_t lsm9ds1_act_mode_get(const stmdev_ctx_t *ctx, lsm9ds1_act_mode_t *val)
Gyroscope operating mode during inactivity.
int32_t lsm9ds1_6d_mode_set(const stmdev_ctx_t *ctx, lsm9ds1_6d_mode_t val)
6D feature working mode.
int32_t lsm9ds1_act_threshold_get(const stmdev_ctx_t *ctx, uint8_t *val)
Inactivity threshold.
#define LSM9DS1_CTRL_REG2_M
#define LSM9DS1_INT_GEN_THS_X_XL
#define LSM9DS1_OFFSET_X_REG_L_M
#define LSM9DS1_INT_GEN_THS_XH_G
#define LSM9DS1_INT_GEN_CFG_G
#define LSM9DS1_INT1_CTRL
#define LSM9DS1_CTRL_REG9
#define LSM9DS1_OUT_X_L_G
#define LSM9DS1_INT_GEN_THS_ZL_G
#define LSM9DS1_CTRL_REG10
#define LSM9DS1_INT_GEN_THS_YL_G
#define LSM9DS1_CTRL_REG8
#define LSM9DS1_ORIENT_CFG_G
#define LSM9DS1_INT_SRC_M
#define LSM9DS1_CTRL_REG2_G
#define LSM9DS1_INT_THS_H_M
#define LSM9DS1_INT_GEN_SRC_XL
#define LSM9DS1_STATUS_REG_M
#define LSM9DS1_OUT_TEMP_L
#define LSM9DS1_INT2_CTRL
#define LSM9DS1_CTRL_REG7_XL
#define LSM9DS1_INT_GEN_THS_ZH_G
#define LSM9DS1_STATUS_REG
#define LSM9DS1_INT_GEN_CFG_XL
#define LSM9DS1_INT_THS_L_M
#define LSM9DS1_INT_GEN_THS_YH_G
#define LSM9DS1_INT_GEN_DUR_XL
#define LSM9DS1_FIFO_CTRL
#define LSM9DS1_CTRL_REG5_XL
#define LSM9DS1_CTRL_REG1_M
#define LSM9DS1_CTRL_REG5_M
#define LSM9DS1_REFERENCE_G
#define LSM9DS1_CTRL_REG3_G
#define LSM9DS1_INT_GEN_DUR_G
#define LSM9DS1_CTRL_REG4
#define LSM9DS1_OUT_X_L_M
#define LSM9DS1_CTRL_REG4_M
#define LSM9DS1_INT_GEN_THS_XL_G
#define LSM9DS1_INT_GEN_SRC_G
#define LSM9DS1_CTRL_REG6_XL
#define LSM9DS1_INT_CFG_M
#define LSM9DS1_CTRL_REG1_G
#define LSM9DS1_OUT_X_L_XL
#define LSM9DS1_WHO_AM_I_M
#define LSM9DS1_CTRL_REG3_M
@ LSM9DS1_EVERY_8_SAMPLES
@ LSM9DS1_EVERY_4_SAMPLES
@ LSM9DS1_EVERY_2_SAMPLES
@ LSM9DS1_MSB_LOW_ADDRESS
@ LSM9DS1_LSB_LOW_ADDRESS
@ LSM9DS1_STREAM_TO_FIFO_MODE
@ LSM9DS1_BYPASS_TO_STREAM_MODE
@ LSM9DS1_LPF1_HPF_LPF2_INT
@ LSM9DS1_HP_ULTRA_STRONG
@ LSM9DS1_GYRO_POWER_DOWN
@ LSM9DS1_POS_MOVE_RECO_DISABLE
@ LSM9DS1_GY_OFF_XL_952Hz
@ LSM9DS1_XL_OFF_GY_59Hz5_LP
@ LSM9DS1_XL_OFF_GY_14Hz9_LP
@ LSM9DS1_XL_OFF_GY_476Hz
@ LSM9DS1_GY_OFF_XL_238Hz
@ LSM9DS1_XL_OFF_GY_119Hz_LP
@ LSM9DS1_XL_OFF_GY_59Hz5
@ LSM9DS1_GY_OFF_XL_476Hz
@ LSM9DS1_XL_OFF_GY_119Hz
@ LSM9DS1_XL_OFF_GY_238Hz
@ LSM9DS1_XL_OFF_GY_14Hz9
@ LSM9DS1_GY_OFF_XL_119Hz
@ LSM9DS1_XL_OFF_GY_952Hz
@ LSM9DS1_LPF1_HPF_LPF2_OUT
This file contains all the functions prototypes for the lsm9ds1_reg.c driver.
uint8_t sleep_on_inact_en
lsm9ds1_status_reg_m_t status_mag
lsm9ds1_status_reg_t status_imu
stmdev_write_ptr write_reg
Component mandatory fields.
void * handle
Customizable optional pointer.