STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
ISM330DHCX_significant_motion

This section groups all the functions that manage the significant motion detection. More...

Collaboration diagram for ISM330DHCX_significant_motion:

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.

Detailed Description

This section groups all the functions that manage the significant motion detection.

Function Documentation

◆ ism330dhcx_motion_flag_data_ready_get()

int32_t ism330dhcx_motion_flag_data_ready_get ( stmdev_ctx_t * ctx,
uint8_t * val )

Interrupt status bit for significant motion detection.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of is_sigmot in reg EMB_FUNC_STATUS
Return values
Interfacestatus (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.

◆ ism330dhcx_motion_sens_get()

int32_t ism330dhcx_motion_sens_get ( stmdev_ctx_t * ctx,
uint8_t * val )

Enable significant motion detection function.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of sign_motion_en in reg EMB_FUNC_EN_A
Return values
Interfacestatus (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.

◆ ism330dhcx_motion_sens_set()

int32_t ism330dhcx_motion_sens_set ( stmdev_ctx_t * ctx,
uint8_t val )

Enable significant motion detection function.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of sign_motion_en in reg EMB_FUNC_EN_A
Return values
Interfacestatus (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.