Home
last modified time | relevance | path

Searched refs:mag (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lis2mdl/
Dlis2mdl.c109 cval = lis2mdl->mag[i] * 1500; in lis2mdl_channel_get_mag()
231 lis2mdl->mag[0] = raw_mag[0]; in lis2mdl_sample_fetch_mag()
232 lis2mdl->mag[1] = raw_mag[1]; in lis2mdl_sample_fetch_mag()
233 lis2mdl->mag[2] = raw_mag[2]; in lis2mdl_sample_fetch_mag()
249 lis2mdl->mag[0] += raw_mag[0]; in lis2mdl_sample_fetch_mag()
250 lis2mdl->mag[1] += raw_mag[1]; in lis2mdl_sample_fetch_mag()
251 lis2mdl->mag[2] += raw_mag[2]; in lis2mdl_sample_fetch_mag()
252 lis2mdl->mag[0] /= 2; in lis2mdl_sample_fetch_mag()
253 lis2mdl->mag[1] /= 2; in lis2mdl_sample_fetch_mag()
254 lis2mdl->mag[2] /= 2; in lis2mdl_sample_fetch_mag()
[all …]
Dlis2mdl.h51 int16_t mag[3]; member
/Zephyr-latest/samples/sensor/sm351lt/src/
Dmain.c17 struct sensor_value mag; in fetch_and_display() local
24 &mag); in fetch_and_display()
30 count, k_uptime_get_32(), mag.val1); in fetch_and_display()
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
DKconfig5 bool "sensing subsystem physical 3d sensors(accel, gyro, mag)"
9 Enable sensing subsystem physical 3d sensors(accel, gyro, mag).
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc.c98 cval = iis2mdc->mag[i] * 1500; in iis2mdc_channel_get_mag()
187 iis2mdc->mag[0] = raw_mag[0]; in iis2mdc_sample_fetch_mag()
188 iis2mdc->mag[1] = raw_mag[1]; in iis2mdc_sample_fetch_mag()
189 iis2mdc->mag[2] = raw_mag[2]; in iis2mdc_sample_fetch_mag()
Diis2mdc.h47 int16_t mag[3]; member
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c195 {BMI160_CMD_PMU_MAG | pmu_sts->mag, 350}, in bmi160_pmu_set()
223 pmu_set = (pmu_sts->mag == sts.mag); in bmi160_pmu_set()
1038 .mag = BMI160_PMU_SUSPEND, in bmi160_suspend()
1092 data->pmu_sts.mag = BMI160_PMU_SUSPEND; in bmi160_init()
Dbmi160.h447 uint8_t mag : 2; member
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/
DREADME.rst21 - LSM6DSL 3-Axis magnetic field intensity (from LSM303AGR mag) - Primary option
/Zephyr-latest/drivers/sensor/nxp/fxos8700/
DKconfig31 bool "Hybrid (accel+mag) mode"