|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section groups all the functions concerning DEN functionality. More...
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. | |
This section groups all the functions concerning DEN functionality.
| int32_t ism330dhcx_den_enable_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_xl_g_t * | val ) |
DEN configuration.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Get the values of den_xl_g in reg CTRL9_XL |
| Interface | status (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.
| int32_t ism330dhcx_den_enable_set | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_xl_g_t | val ) |
DEN configuration.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_xl_g in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_x_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
DEN value stored in LSB of X-axis.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_z in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_x_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
DEN value stored in LSB of X-axis.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_z in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_y_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
DEN value stored in LSB of Y-axis.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_y in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_y_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
DEN value stored in LSB of Y-axis.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_y in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_z_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
DEN value stored in LSB of Z-axis.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_x in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mark_axis_z_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
DEN value stored in LSB of Z-axis.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_x in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_mode_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_mode_t * | val ) |
DEN functionality marking mode.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Get the values of den_mode in reg CTRL6_C |
| Interface | status (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().
| int32_t ism330dhcx_den_mode_set | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_mode_t | val ) |
DEN functionality marking mode.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_mode in reg CTRL6_C |
| Interface | status (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().
| int32_t ism330dhcx_den_polarity_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_lh_t * | val ) |
DEN active level configuration.
[get]
| ctx | Read / write interface definitions.(ptr) |
| val | Get the values of den_lh in reg CTRL9_XL |
| Interface | status (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().
| int32_t ism330dhcx_den_polarity_set | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_den_lh_t | val ) |
DEN active level configuration.
[set]
| ctx | Read / write interface definitions.(ptr) |
| val | Change the values of den_lh in reg CTRL9_XL |
| Interface | status (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().