|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section group all the functions concerning the free fall detection. More...
Functions | |
| int32_t | ism330dhcx_ff_threshold_set (stmdev_ctx_t *ctx, ism330dhcx_ff_ths_t val) |
| Free fall threshold setting. | |
| int32_t | ism330dhcx_ff_threshold_get (stmdev_ctx_t *ctx, ism330dhcx_ff_ths_t *val) |
| Free fall threshold setting. | |
| int32_t | ism330dhcx_ff_dur_set (stmdev_ctx_t *ctx, uint8_t val) |
| Free-fall duration event(1LSb = 1 / ODR). | |
| int32_t | ism330dhcx_ff_dur_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Free-fall duration event(1LSb = 1 / ODR). | |
This section group all the functions concerning the free fall detection.
| int32_t ism330dhcx_ff_dur_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Free-fall duration event(1LSb = 1 / ODR).
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of ff_dur in reg FREE_FALL |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 6511 of file ism330dhcx_reg.c.
References ism330dhcx_free_fall_t::ff_dur, ism330dhcx_wake_up_dur_t::ff_dur, ISM330DHCX_FREE_FALL, ism330dhcx_read_reg(), and ISM330DHCX_WAKE_UP_DUR.
| int32_t ism330dhcx_ff_dur_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
Free-fall duration event(1LSb = 1 / ODR).
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of ff_dur in reg FREE_FALL |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 6472 of file ism330dhcx_reg.c.
References ism330dhcx_free_fall_t::ff_dur, ism330dhcx_wake_up_dur_t::ff_dur, ISM330DHCX_FREE_FALL, ism330dhcx_read_reg(), ISM330DHCX_WAKE_UP_DUR, and ism330dhcx_write_reg().
| int32_t ism330dhcx_ff_threshold_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_ff_ths_t * | val ) |
Free fall threshold setting.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Get the values of ff_ths in reg FREE_FALL |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 6414 of file ism330dhcx_reg.c.
References ism330dhcx_free_fall_t::ff_ths, ISM330DHCX_FF_TSH_156mg, ISM330DHCX_FF_TSH_219mg, ISM330DHCX_FF_TSH_250mg, ISM330DHCX_FF_TSH_312mg, ISM330DHCX_FF_TSH_344mg, ISM330DHCX_FF_TSH_406mg, ISM330DHCX_FF_TSH_469mg, ISM330DHCX_FF_TSH_500mg, ISM330DHCX_FREE_FALL, and ism330dhcx_read_reg().
| int32_t ism330dhcx_ff_threshold_set | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_ff_ths_t | val ) |
Free fall threshold setting.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of ff_ths in reg FREE_FALL |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 6388 of file ism330dhcx_reg.c.
References ism330dhcx_free_fall_t::ff_ths, ISM330DHCX_FREE_FALL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().