Lines Matching +full:accel +full:- +full:odr
4 * SPDX-License-Identifier: Apache-2.0
15 struct sensor_value accel[3]; in fetch_and_display() local
21 if (rc == -EBADMSG) { in fetch_and_display()
31 accel); in fetch_and_display()
38 sensor_value_to_double(&accel[0]), in fetch_and_display()
39 sensor_value_to_double(&accel[1]), in fetch_and_display()
40 sensor_value_to_double(&accel[2])); in fetch_and_display()
75 printf("Device %s is not ready\n", sensor->name); in main()
88 struct sensor_value odr = { in main() local
94 &odr); in main()
96 printf("Failed to set odr: %d\n", rc); in main()
99 printf("Sampling at %u Hz\n", odr.val1); in main()