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

This section groups all the functions concerning DEN functionality. More...

Collaboration diagram for ISM330DHCX_DEN_functionality:

Functions

int32_t ism330dhcx_den_mode_set (stmdev_ctx_t *ctx, ism330dhcx_den_mode_t val)
 DEN functionality marking mode.
int32_t ism330dhcx_den_mode_get (stmdev_ctx_t *ctx, ism330dhcx_den_mode_t *val)
 DEN functionality marking mode.
int32_t ism330dhcx_den_polarity_set (stmdev_ctx_t *ctx, ism330dhcx_den_lh_t val)
 DEN active level configuration.
int32_t ism330dhcx_den_polarity_get (stmdev_ctx_t *ctx, ism330dhcx_den_lh_t *val)
 DEN active level configuration.
int32_t ism330dhcx_den_enable_set (stmdev_ctx_t *ctx, ism330dhcx_den_xl_g_t val)
 DEN configuration.
int32_t ism330dhcx_den_enable_get (stmdev_ctx_t *ctx, ism330dhcx_den_xl_g_t *val)
 DEN configuration.
int32_t ism330dhcx_den_mark_axis_x_set (stmdev_ctx_t *ctx, uint8_t val)
 DEN value stored in LSB of X-axis.
int32_t ism330dhcx_den_mark_axis_x_get (stmdev_ctx_t *ctx, uint8_t *val)
 DEN value stored in LSB of X-axis.
int32_t ism330dhcx_den_mark_axis_y_set (stmdev_ctx_t *ctx, uint8_t val)
 DEN value stored in LSB of Y-axis.
int32_t ism330dhcx_den_mark_axis_y_get (stmdev_ctx_t *ctx, uint8_t *val)
 DEN value stored in LSB of Y-axis.
int32_t ism330dhcx_den_mark_axis_z_set (stmdev_ctx_t *ctx, uint8_t val)
 DEN value stored in LSB of Z-axis.
int32_t ism330dhcx_den_mark_axis_z_get (stmdev_ctx_t *ctx, uint8_t *val)
 DEN value stored in LSB of Z-axis.

Detailed Description

This section groups all the functions concerning DEN functionality.

Function Documentation

◆ ism330dhcx_den_enable_get()

int32_t ism330dhcx_den_enable_get ( stmdev_ctx_t * ctx,
ism330dhcx_den_xl_g_t * val )

DEN configuration.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valGet the values of den_xl_g in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8250 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_xl_g, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), ISM330DHCX_STAMP_IN_GY_DATA, ISM330DHCX_STAMP_IN_GY_XL_DATA, and ISM330DHCX_STAMP_IN_XL_DATA.

◆ ism330dhcx_den_enable_set()

int32_t ism330dhcx_den_enable_set ( stmdev_ctx_t * ctx,
ism330dhcx_den_xl_g_t val )

DEN configuration.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_xl_g in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8224 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_xl_g, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().

◆ ism330dhcx_den_mark_axis_x_get()

int32_t ism330dhcx_den_mark_axis_x_get ( stmdev_ctx_t * ctx,
uint8_t * val )

DEN value stored in LSB of X-axis.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_z in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8313 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_z, ISM330DHCX_CTRL9_XL, and ism330dhcx_read_reg().

◆ ism330dhcx_den_mark_axis_x_set()

int32_t ism330dhcx_den_mark_axis_x_set ( stmdev_ctx_t * ctx,
uint8_t val )

DEN value stored in LSB of X-axis.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_z in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8288 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_z, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().

◆ ism330dhcx_den_mark_axis_y_get()

int32_t ism330dhcx_den_mark_axis_y_get ( stmdev_ctx_t * ctx,
uint8_t * val )

DEN value stored in LSB of Y-axis.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_y in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8358 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_y, ISM330DHCX_CTRL9_XL, and ism330dhcx_read_reg().

◆ ism330dhcx_den_mark_axis_y_set()

int32_t ism330dhcx_den_mark_axis_y_set ( stmdev_ctx_t * ctx,
uint8_t val )

DEN value stored in LSB of Y-axis.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_y in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8333 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_y, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().

◆ ism330dhcx_den_mark_axis_z_get()

int32_t ism330dhcx_den_mark_axis_z_get ( stmdev_ctx_t * ctx,
uint8_t * val )

DEN value stored in LSB of Z-axis.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_x in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8403 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_x, ISM330DHCX_CTRL9_XL, and ism330dhcx_read_reg().

◆ ism330dhcx_den_mark_axis_z_set()

int32_t ism330dhcx_den_mark_axis_z_set ( stmdev_ctx_t * ctx,
uint8_t val )

DEN value stored in LSB of Z-axis.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_x in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8378 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_x, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().

◆ ism330dhcx_den_mode_get()

int32_t ism330dhcx_den_mode_get ( stmdev_ctx_t * ctx,
ism330dhcx_den_mode_t * val )

DEN functionality marking mode.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valGet the values of den_mode in reg CTRL6_C
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8118 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl6_c_t::den_mode, ISM330DHCX_CTRL6_C, ISM330DHCX_DEN_DISABLE, ISM330DHCX_EDGE_TRIGGER, ISM330DHCX_LEVEL_FIFO, ISM330DHCX_LEVEL_LETCHED, ISM330DHCX_LEVEL_TRIGGER, and ism330dhcx_read_reg().

◆ ism330dhcx_den_mode_set()

int32_t ism330dhcx_den_mode_set ( stmdev_ctx_t * ctx,
ism330dhcx_den_mode_t val )

DEN functionality marking mode.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_mode in reg CTRL6_C
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8092 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl6_c_t::den_mode, ISM330DHCX_CTRL6_C, ism330dhcx_read_reg(), and ism330dhcx_write_reg().

◆ ism330dhcx_den_polarity_get()

int32_t ism330dhcx_den_polarity_get ( stmdev_ctx_t * ctx,
ism330dhcx_den_lh_t * val )

DEN active level configuration.

[get]

Parameters
ctxRead / write interface definitions.(ptr)
valGet the values of den_lh in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8190 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_lh, ISM330DHCX_CTRL9_XL, ISM330DHCX_DEN_ACT_HIGH, ISM330DHCX_DEN_ACT_LOW, and ism330dhcx_read_reg().

◆ ism330dhcx_den_polarity_set()

int32_t ism330dhcx_den_polarity_set ( stmdev_ctx_t * ctx,
ism330dhcx_den_lh_t val )

DEN active level configuration.

[set]

Parameters
ctxRead / write interface definitions.(ptr)
valChange the values of den_lh in reg CTRL9_XL
Return values
Interfacestatus (MANDATORY: return 0 -> no Error).

Definition at line 8164 of file ism330dhcx_reg.c.

References ism330dhcx_ctrl9_xl_t::den_lh, ISM330DHCX_CTRL9_XL, ism330dhcx_read_reg(), and ism330dhcx_write_reg().