|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section groups all the functions that manage the tilt event detection. More...
Functions | |
| int32_t | ism330dhcx_tilt_sens_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enable tilt calculation. | |
| int32_t | ism330dhcx_tilt_sens_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enable tilt calculation. | |
| int32_t | ism330dhcx_tilt_flag_data_ready_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Interrupt status bit for tilt detection. | |
This section groups all the functions that manage the tilt event detection.
| int32_t ism330dhcx_tilt_flag_data_ready_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Interrupt status bit for tilt detection.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of is_tilt in reg EMB_FUNC_STATUS |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8865 of file ism330dhcx_reg.c.
References ism330dhcx_emb_func_status_t::is_tilt, ISM330DHCX_EMB_FUNC_STATUS, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), and ISM330DHCX_USER_BANK.
| int32_t ism330dhcx_tilt_sens_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Enable tilt calculation.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of tilt_en in reg EMB_FUNC_EN_A |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8836 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_EN_A, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, and ism330dhcx_emb_func_en_a_t::tilt_en.
| int32_t ism330dhcx_tilt_sens_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
Enable tilt calculation.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of tilt_en in reg EMB_FUNC_EN_A |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8801 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_EN_A, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, ism330dhcx_write_reg(), and ism330dhcx_emb_func_en_a_t::tilt_en.