|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This section group all the functions concerning the usage of Machine Learning Core More...
Functions | |
| int32_t | ism330dhcx_mlc_set (stmdev_ctx_t *ctx, uint8_t val) |
| Enable Machine Learning Core. | |
| int32_t | ism330dhcx_mlc_get (stmdev_ctx_t *ctx, uint8_t *val) |
| Enable Machine Learning Core. | |
| int32_t | ism330dhcx_mlc_status_get (stmdev_ctx_t *ctx, ism330dhcx_mlc_status_mainpage_t *val) |
| Machine Learning Core status register[get]. | |
| int32_t | ism330dhcx_mlc_data_rate_set (stmdev_ctx_t *ctx, ism330dhcx_mlc_odr_t val) |
| Machine Learning Core data rate selection. | |
| int32_t | ism330dhcx_mlc_data_rate_get (stmdev_ctx_t *ctx, ism330dhcx_mlc_odr_t *val) |
| Machine Learning Core data rate selection. | |
This section group all the functions concerning the usage of Machine Learning Core
| int32_t ism330dhcx_mlc_data_rate_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_mlc_odr_t * | val ) |
Machine Learning Core data rate selection.
[get]
| ctx | read / write interface definitions |
| val | change the values of mlc_odr in reg EMB_FUNC_ODR_CFG_C |
Definition at line 10411 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_ODR_CFG_C, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ISM330DHCX_ODR_PRGS_104Hz, ISM330DHCX_ODR_PRGS_12Hz5, ISM330DHCX_ODR_PRGS_26Hz, ISM330DHCX_ODR_PRGS_52Hz, ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, and reg.
Referenced by ism330dhcx_gy_data_rate_set(), and ism330dhcx_xl_data_rate_set().
| int32_t ism330dhcx_mlc_data_rate_set | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_mlc_odr_t | val ) |
Machine Learning Core data rate selection.
[set]
| ctx | read / write interface definitions |
| val | get the values of mlc_odr in reg EMB_FUNC_ODR_CFG_C |
Definition at line 10375 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_ODR_CFG_C, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, ism330dhcx_write_reg(), and reg.
| int32_t ism330dhcx_mlc_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | val ) |
Enable Machine Learning Core.
[get]
| ctx | read / write interface definitions |
| val | Get the values of mlc_en in reg EMB_FUNC_EN_B |
Definition at line 10332 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_EN_B, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, and reg.
Referenced by ism330dhcx_gy_data_rate_set(), and ism330dhcx_xl_data_rate_set().
| int32_t ism330dhcx_mlc_set | ( | stmdev_ctx_t * | ctx, |
| uint8_t | val ) |
Enable Machine Learning Core.
[set]
| ctx | read / write interface definitions |
| val | change the values of mlc_en in reg EMB_FUNC_EN_B and mlc_init in EMB_FUNC_INIT_B |
Definition at line 10284 of file ism330dhcx_reg.c.
References ISM330DHCX_EMB_FUNC_EN_B, ISM330DHCX_EMB_FUNC_INIT_B, ISM330DHCX_EMBEDDED_FUNC_BANK, ism330dhcx_mem_bank_set(), ism330dhcx_read_reg(), ISM330DHCX_USER_BANK, ism330dhcx_write_reg(), PROPERTY_DISABLE, and reg.
| int32_t ism330dhcx_mlc_status_get | ( | stmdev_ctx_t * | ctx, |
| ism330dhcx_mlc_status_mainpage_t * | val ) |
Machine Learning Core status register[get].
| ctx | read / write interface definitions |
| val | register MLC_STATUS_MAINPAGE |
Definition at line 10360 of file ism330dhcx_reg.c.
References ISM330DHCX_MLC_STATUS_MAINPAGE, and ism330dhcx_read_reg().