iNEMO inertial module: 3D accelerometer and 3D gyroscope.

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

output

output
[LSM6DSO]

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:
ctxread / write interface definitions
buffbuffer 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:
ctxread / write interface definitions
buffbuffer 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:
ctxread / write interface definitions
buffbuffer 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:
ctxread / write interface definitions
buffbuffer 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:
ctxread / write interface definitions
valGet 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:
ctxread / write interface definitions
valchange 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:
ctxread / 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:
ctxread / write interface definitions
buffbuffer that stores data read

Definition at line 1176 of file lsm6dso_reg.c.