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

This section group all the functions concerning the usage of Machine Learning Core More...

Collaboration diagram for Learning Core:

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.

Detailed Description

This section group all the functions concerning the usage of Machine Learning Core

Function Documentation

◆ ism330dhcx_mlc_data_rate_get()

int32_t ism330dhcx_mlc_data_rate_get ( stmdev_ctx_t * ctx,
ism330dhcx_mlc_odr_t * val )

Machine Learning Core data rate selection.

[get]

Parameters
ctxread / write interface definitions
valchange 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().

◆ ism330dhcx_mlc_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]

Parameters
ctxread / write interface definitions
valget 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.

◆ ism330dhcx_mlc_get()

int32_t ism330dhcx_mlc_get ( stmdev_ctx_t * ctx,
uint8_t * val )

Enable Machine Learning Core.

[get]

Parameters
ctxread / write interface definitions
valGet 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().

◆ ism330dhcx_mlc_set()

int32_t ism330dhcx_mlc_set ( stmdev_ctx_t * ctx,
uint8_t val )

Enable Machine Learning Core.

[set]

Parameters
ctxread / write interface definitions
valchange 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.

◆ ism330dhcx_mlc_status_get()

int32_t ism330dhcx_mlc_status_get ( stmdev_ctx_t * ctx,
ism330dhcx_mlc_status_mainpage_t * val )

Machine Learning Core status register[get].

Parameters
ctxread / write interface definitions
valregister MLC_STATUS_MAINPAGE

Definition at line 10360 of file ism330dhcx_reg.c.

References ISM330DHCX_MLC_STATUS_MAINPAGE, and ism330dhcx_read_reg().