iNEMO inertial module: 3D accelerometer and 3D gyroscope.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
This section groups all the data output functions. More...
Functions | |
int32_t | lsm6dso_rounding_mode_set (lsm6dso_ctx_t *ctx, lsm6dso_rounding_t val) |
Circular burst-mode (rounding) read of the output registers. | |
int32_t | lsm6dso_rounding_mode_get (lsm6dso_ctx_t *ctx, lsm6dso_rounding_t *val) |
Gyroscope UI chain full-scale selection. | |
int32_t | lsm6dso_temperature_raw_get (lsm6dso_ctx_t *ctx, uint8_t *buff) |
Temperature data output register (r). | |
int32_t | lsm6dso_angular_rate_raw_get (lsm6dso_ctx_t *ctx, uint8_t *buff) |
Angular rate sensor. | |
int32_t | lsm6dso_acceleration_raw_get (lsm6dso_ctx_t *ctx, uint8_t *buff) |
Linear acceleration output register. | |
int32_t | lsm6dso_fifo_out_raw_get (lsm6dso_ctx_t *ctx, uint8_t *buff) |
FIFO data output [get]. | |
int32_t | lsm6dso_number_of_steps_get (lsm6dso_ctx_t *ctx, uint8_t *buff) |
Step counter output register. | |
int32_t | lsm6dso_steps_reset (lsm6dso_ctx_t *ctx) |
Reset step counter register. |
Detailed Description
This section groups all the data output functions.
Function Documentation
int32_t lsm6dso_acceleration_raw_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Linear acceleration output register.
The value is expressed as a 16-bit word in two’s complement.[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1206 of file lsm6dso_reg.c.
int32_t lsm6dso_angular_rate_raw_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Angular rate sensor.
The value is expressed as a 16-bit word in two’s complement.[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1191 of file lsm6dso_reg.c.
int32_t lsm6dso_fifo_out_raw_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
FIFO data output [get].
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1220 of file lsm6dso_reg.c.
int32_t lsm6dso_number_of_steps_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Step counter output register.
[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1234 of file lsm6dso_reg.c.
int32_t lsm6dso_rounding_mode_get | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_rounding_t * | val | ||
) |
Gyroscope UI chain full-scale selection.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of rounding in reg CTRL5_C
Definition at line 1140 of file lsm6dso_reg.c.
int32_t lsm6dso_rounding_mode_set | ( | lsm6dso_ctx_t * | ctx, |
lsm6dso_rounding_t | val | ||
) |
Circular burst-mode (rounding) read of the output registers.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of rounding in reg CTRL5_C
Definition at line 1119 of file lsm6dso_reg.c.
int32_t lsm6dso_steps_reset | ( | lsm6dso_ctx_t * | ctx ) |
Reset step counter register.
[get]
- Parameters:
-
ctx read / write interface definitions
Definition at line 1254 of file lsm6dso_reg.c.
int32_t lsm6dso_temperature_raw_get | ( | lsm6dso_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Temperature data output register (r).
L and H registers together express a 16-bit word in two’s complement.[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1176 of file lsm6dso_reg.c.
Generated on Wed Jul 13 2022 04:15:41 by 1.7.2