|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section groups all the functions that manage the timestamp generation. More...
Functions | |
| int32_t | ism330dhcx_timestamp_rst (stmdev_ctx_t *ctx) |
| Reset timestamp counter. | |
| int32_t | ism330dhcx_timestamp_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enables timestamp counter. | |
| int32_t | ism330dhcx_timestamp_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enables timestamp counter. | |
| int32_t | ism330dhcx_timestamp_raw_get (stmdev_ctx_t *ctx, uint32_t *val) |
| Timestamp first data output register (r). | |
This section groups all the functions that manage the timestamp generation.
| int32_t ism330dhcx_timestamp_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Enables timestamp counter.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of timestamp_en in reg CTRL10_C |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 1560 of file ism330dhcx_reg.c.
References ISM330DHCX_CTRL10_C, ism330dhcx_read_reg(), and ism330dhcx_ctrl10_c_t::timestamp_en.
| int32_t ism330dhcx_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.(ptr) |
| buff | Buffer that stores data read |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 1581 of file ism330dhcx_reg.c.
References ism330dhcx_read_reg(), and ISM330DHCX_TIMESTAMP0.
| int32_t ism330dhcx_timestamp_rst | ( | stmdev_ctx_t * | ctx | ) |
Reset timestamp counter.
[set]
| ctx | Read / write interface definitions.(ptr) |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 1521 of file ism330dhcx_reg.c.
References ISM330DHCX_TIMESTAMP2, and ism330dhcx_write_reg().
Referenced by QwDevISM330DHCX::resetTimestamp().
| int32_t ism330dhcx_timestamp_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
Enables timestamp counter.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of timestamp_en in reg CTRL10_C |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 1535 of file ism330dhcx_reg.c.
References ISM330DHCX_CTRL10_C, ism330dhcx_read_reg(), ism330dhcx_write_reg(), and ism330dhcx_ctrl10_c_t::timestamp_en.
Referenced by QwDevISM330DHCX::enableTimestamp().