Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
LSM6DSOX_Timestamp
This section groups all the functions that manage the timestamp generation. More...
Functions | |
int32_t | lsm6dsox_timestamp_rst (lsm6dsox_ctx_t *ctx) |
Reset timestamp counter. | |
int32_t | lsm6dsox_timestamp_set (lsm6dsox_ctx_t *ctx, uint8_t val) |
Enables timestamp counter. | |
int32_t | lsm6dsox_timestamp_get (lsm6dsox_ctx_t *ctx, uint8_t *val) |
Enables timestamp counter. | |
int32_t | lsm6dsox_timestamp_raw_get (lsm6dsox_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 lsm6dsox_timestamp_get | ( | lsm6dsox_ctx_t * | ctx, |
uint8_t * | val | ||
) |
Enables timestamp counter.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of timestamp_en in reg CTRL10_C
Definition at line 1220 of file lsm6dsox_reg.c.
int32_t lsm6dsox_timestamp_raw_get | ( | lsm6dsox_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:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1240 of file lsm6dsox_reg.c.
int32_t lsm6dsox_timestamp_rst | ( | lsm6dsox_ctx_t * | ctx ) |
Reset timestamp counter.
[set]
- Parameters:
-
ctx Read / write interface definitions.(ptr)
- Return values:
-
Interface status (MANDATORY: return 0 -> no Error).
Definition at line 1186 of file lsm6dsox_reg.c.
int32_t lsm6dsox_timestamp_set | ( | lsm6dsox_ctx_t * | ctx, |
uint8_t | val | ||
) |
Enables timestamp counter.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of timestamp_en in reg CTRL10_C
Definition at line 1200 of file lsm6dsox_reg.c.
Generated on Tue Jul 12 2022 20:15:23 by
