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 functions that manage the timestamp generation. More...
Functions | |
int32_t | lsm6dso_timestamp_rst (lsm6dso_ctx_t *ctx) |
Reset timestamp counter. | |
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:
-
ctx read / write interface definitions val change the values of timestamp_en in reg CTRL10_C
Definition at line 1072 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:
-
ctx read / write interface definitions buff buffer that stores data read
Definition at line 1092 of file lsm6dso_reg.c.
int32_t lsm6dso_timestamp_rst | ( | lsm6dso_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 1038 of file lsm6dso_reg.c.
int32_t lsm6dso_timestamp_set | ( | lsm6dso_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 1052 of file lsm6dso_reg.c.
Generated on Wed Jul 13 2022 04:15:41 by 1.7.2