Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dipso_accelerometer.c52 static struct ipso_accel_data accel_data[MAX_INSTANCE_COUNT]; variable
101 (void)memset(&accel_data[avail], 0, sizeof(accel_data[avail])); in accel_create()
109 &accel_data[avail].x_value, in accel_create()
110 sizeof(accel_data[avail].x_value)); in accel_create()
112 &accel_data[avail].y_value, in accel_create()
113 sizeof(accel_data[avail].y_value)); in accel_create()
115 &accel_data[avail].z_value, in accel_create()
116 sizeof(accel_data[avail].z_value)); in accel_create()
120 j, &accel_data[avail].min_range, in accel_create()
121 sizeof(accel_data[avail].min_range)); in accel_create()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/adxl372/
Dadxl372.c480 struct adxl372_xyz_accel_data *accel_data) in adxl372_get_accel_data() argument
496 accel_data->x = (buf[0] << 8) | (buf[1] & 0xF0); in adxl372_get_accel_data()
497 accel_data->y = (buf[2] << 8) | (buf[3] & 0xF0); in adxl372_get_accel_data()
498 accel_data->z = (buf[4] << 8) | (buf[5] & 0xF0); in adxl372_get_accel_data()