![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
This section groups all the functions that manage the timestamp generation. More...

Functions | |
| int32_t | lsm6dso32_timestamp_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enables timestamp counter.[set]. | |
| int32_t | lsm6dso32_timestamp_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enables timestamp counter.[get]. | |
| int32_t | lsm6dso32_timestamp_raw_get (stmdev_ctx_t *ctx, uint32_t *val) |
| Timestamp first data output register (r). The value is expressed as a 32-bit word and the bit resolution is 25 μs.[get]. | |
This section groups all the functions that manage the timestamp generation.
| int32_t lsm6dso32_timestamp_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
Enables timestamp counter.[get].
| ctx | read / write interface definitions |
| val | change the values of timestamp_en in reg CTRL10_C |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1127 of file lsm6dso32_reg.c.
References LSM6DSO32_CTRL10_C, lsm6dso32_read_reg(), and lsm6dso32_ctrl10_c_t::timestamp_en.

| int32_t lsm6dso32_timestamp_raw_get | ( | stmdev_ctx_t * | ctx, |
| uint32_t * | val | ||
| ) |
Timestamp first data output register (r). The value is expressed as a 32-bit word and the bit resolution is 25 μs.[get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1148 of file lsm6dso32_reg.c.
References lsm6dso32_read_reg(), and LSM6DSO32_TIMESTAMP0.

| int32_t lsm6dso32_timestamp_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
Enables timestamp counter.[set].
| ctx | read / write interface definitions |
| val | change the values of timestamp_en in reg CTRL10_C |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1103 of file lsm6dso32_reg.c.
References LSM6DSO32_CTRL10_C, lsm6dso32_read_reg(), lsm6dso32_write_reg(), and lsm6dso32_ctrl10_c_t::timestamp_en.
