LELEC2811 - I&S / LSM6DSO

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

LSM6DSO_Timestamp

LSM6DSO_Timestamp

This section groups all the functions that manage the timestamp generation. More...

Functions

int32_t lsm6dso_timestamp_set (lsm6dso_ctx_t *ctx, uint8_t val)
 Enables timestamp counter.
int32_t lsm6dso_timestamp_get (lsm6dso_ctx_t *ctx, uint8_t *val)
 Enables timestamp counter.
int32_t lsm6dso_timestamp_raw_get (lsm6dso_ctx_t *ctx, uint8_t *buff)
 Timestamp first data output register (r).

Detailed Description

This section groups all the functions that manage the timestamp generation.


Function Documentation

int32_t lsm6dso_timestamp_get ( lsm6dso_ctx_t *  ctx,
uint8_t *  val 
)

Enables timestamp counter.

[get]

Parameters:
ctxread / write interface definitions
valchange the values of timestamp_en in reg CTRL10_C

Definition at line 936 of file lsm6dso_reg.c.

int32_t lsm6dso_timestamp_raw_get ( lsm6dso_ctx_t *  ctx,
uint8_t *  buff 
)

Timestamp first data output register (r).

The value is expressed as a 32-bit word and the bit resolution is 25 μs.[get]

Parameters:
ctxread / write interface definitions
buffbuffer that stores data read

Definition at line 956 of file lsm6dso_reg.c.

int32_t lsm6dso_timestamp_set ( lsm6dso_ctx_t *  ctx,
uint8_t  val 
)

Enables timestamp counter.

[set]

Parameters:
ctxread / write interface definitions
valchange the values of timestamp_en in reg CTRL10_C

Definition at line 916 of file lsm6dso_reg.c.