|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section groups all the functions that manage the significant motion detection. More...
Functions | |
| int32_t | ism330dhcx_motion_sens_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enable significant motion detection function. | |
| int32_t | ism330dhcx_motion_sens_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enable significant motion detection function. | |
| int32_t | ism330dhcx_motion_flag_data_ready_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Interrupt status bit for significant motion detection. | |
This section groups all the functions that manage the significant motion detection.
| int32_t ism330dhcx_motion_flag_data_ready_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Interrupt status bit for significant motion detection.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of is_sigmot in reg EMB_FUNC_STATUS |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8758 of file ism330dhcx_reg.c.
References ism330dhcx_emb_func_status_t::is_sigmot, ISM330DHCX_EMB_FUNC_STATUS, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), and ISM330DHCX_USER_BANK.
| int32_t ism330dhcx_motion_sens_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Enable significant motion detection function.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of sign_motion_en in reg EMB_FUNC_EN_A |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8729 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::sign_motion_en.
| int32_t ism330dhcx_motion_sens_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
Enable significant motion detection function.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of sign_motion_en in reg EMB_FUNC_EN_A |
| Interface | status (MANDATORY: return 0 -> no Error). |
Definition at line 8694 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::sign_motion_en.