Home
last modified time | relevance | path

Searched refs:FXOS_WriteReg (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/fxos8700cq/
Dfsl_fxos.c46 if (FXOS_WriteReg(fxos_handle, CTRL_REG1, tmp[0] & (uint8_t)~ACTIVE_MASK) != kStatus_Success) in FXOS_Init()
62 if (FXOS_WriteReg(fxos_handle, F_SETUP_REG, F_MODE_DISABLED) != kStatus_Success) in FXOS_Init()
69 …if (FXOS_WriteReg(fxos_handle, CTRL_REG2, SLPE_MASK | SMOD_LOW_POWER | MOD_HIGH_RES) != kStatus_Su… in FXOS_Init()
75 if (FXOS_WriteReg(fxos_handle, CTRL_REG2, MOD_HIGH_RES) != kStatus_Success) in FXOS_Init()
83 …if (FXOS_WriteReg(fxos_handle, M_CTRL_REG1, (M_RST_MASK | M_OSR_MASK | M_HMS_MASK)) != kStatus_Suc… in FXOS_Init()
89 if (FXOS_WriteReg(fxos_handle, M_CTRL_REG2, (M_HYB_AUTOINC_MASK)) != kStatus_Success) in FXOS_Init()
96 …if (FXOS_WriteReg(fxos_handle, FF_MT_CFG_REG, XEFE_MASK | YEFE_MASK | ELE_MASK | OAE_MASK) != kSta… in FXOS_Init()
104 if (FXOS_WriteReg(fxos_handle, FT_MT_THS_REG, 0x04) != kStatus_Success) in FXOS_Init()
112 if (FXOS_WriteReg(fxos_handle, FF_MT_COUNT_REG, 0x00) != kStatus_Success) in FXOS_Init()
120 if (FXOS_WriteReg(fxos_handle, ASLP_COUNT_REG, 8) != kStatus_Success) in FXOS_Init()
[all …]
Dfsl_fxos.h752 status_t FXOS_WriteReg(fxos_handle_t *handle, uint8_t reg, uint8_t val);