Home
last modified time | relevance | path

Searched refs:SENSOR_HZ (Results 1 – 22 of 22) sorted by relevance

/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c68 SENSOR_HZ(0.1),
69 SENSOR_HZ(0.5),
70 SENSOR_HZ(1.0f),
71 SENSOR_HZ(2.0f),
164 sensorLedsSetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
Dleds_lp3943.c131 SENSOR_HZ(0.1),
132 SENSOR_HZ(0.5),
133 SENSOR_HZ(1.0f),
134 SENSOR_HZ(2.0f),
331 sensorLP3943SetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c234 SENSOR_HZ(0.1),
235 SENSOR_HZ(1.0f),
236 SENSOR_HZ(5.0f),
237 SENSOR_HZ(10.0f),
238 SENSOR_HZ(25.0f),
459 humiSetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
460 tempSetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c148 SENSOR_HZ(0.1),
149 SENSOR_HZ(1),
150 SENSOR_HZ(5),
151 SENSOR_HZ(10),
152 SENSOR_HZ(25),
167 SENSOR_HZ(0.1),
168 SENSOR_HZ(1),
169 SENSOR_HZ(5),
170 SENSOR_HZ(10),
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c585 SENSOR_HZ(25.0f/8.0f),
586 SENSOR_HZ(25.0f/4.0f),
587 SENSOR_HZ(25.0f/2.0f),
588 SENSOR_HZ(25.0f),
589 SENSOR_HZ(50.0f),
590 SENSOR_HZ(100.0f),
591 SENSOR_HZ(200.0f),
592 SENSOR_HZ(400.0f),
597 SENSOR_HZ(25.0f/8.0f),
598 SENSOR_HZ(25.0f/4.0f),
[all …]
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c996 SENSOR_HZ(26.0f / 32.0f), /* 0.8125Hz */
997 SENSOR_HZ(26.0f / 16.0f), /* 1.625Hz */
998 SENSOR_HZ(26.0f / 8.0f), /* 3.25Hz */
999 SENSOR_HZ(26.0f / 4.0f), /* 6.5Hz */
1000 SENSOR_HZ(26.0f / 2.0f), /* 12.5Hz */
1001 SENSOR_HZ(26.0f), /* 26Hz */
1002 SENSOR_HZ(52.0f), /* 52Hz */
1003 SENSOR_HZ(104.0f), /* 104Hz */
1004 SENSOR_HZ(208.0f), /* 208Hz */
1005 SENSOR_HZ(416.0f), /* 416Hz */
[all …]
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c309 SENSOR_HZ(25.0f/2.0f),
310 SENSOR_HZ(25.0f),
311 SENSOR_HZ(50.0f),
312 SENSOR_HZ(100.0f),
313 SENSOR_HZ(200.0f),
314 SENSOR_HZ(400.0f),
315 SENSOR_HZ(800.0f),
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c323 SENSOR_HZ(1.0f),
324 SENSOR_HZ(10.0f),
325 SENSOR_HZ(25.0f),
326 SENSOR_HZ(50.0f),
327 SENSOR_HZ(75.0f),
686 baroSetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
687 tempSetRate(SENSOR_HZ(1), 0, NULL); in handleEvent()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c429 #define RATE_TO_HZ SENSOR_HZ(1.0f)
430 #define DECIMATION_HIGH_RATE SENSOR_HZ(1000.0f)
431 #define DECIMATION_LOW_RATE SENSOR_HZ(25.0f)
432 #define NO_DECIMATION_MAX_RATE SENSOR_HZ(200.0f) // will set ODR to DECIMATION_HIGH_RATE if more…
433 #define NO_DECIMATION_MIN_RATE SENSOR_HZ(25.0f) // will set ODR to DECIMATION_LOW_RATE if less …
684 SENSOR_HZ(25.0f/8.0f),
685 SENSOR_HZ(25.0f/4.0f),
686 SENSOR_HZ(25.0f/2.0f),
687 SENSOR_HZ(25.0f),
688 SENSOR_HZ(50.0f),
[all …]
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c104 #define AMS_TMD2772_DEFAULT_RATE SENSOR_HZ(5)
197 SENSOR_HZ(0.1),
198 SENSOR_HZ(1),
199 SENSOR_HZ(4),
200 SENSOR_HZ(5),
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c59 #define MIN_GYRO_RATE_HZ SENSOR_HZ(100.0f)
60 #define MAX_MAG_RATE_HZ SENSOR_HZ(50.0f)
136 SENSOR_HZ(12.5f),
137 SENSOR_HZ(25.0f),
138 SENSOR_HZ(50.0f),
139 SENSOR_HZ(100.0f),
140 SENSOR_HZ(200.0f),
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c281 SENSOR_HZ(1.0f),
282 SENSOR_HZ(7.0f),
283 SENSOR_HZ(12.5f),
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c71 #define ISL29034_DEFAULT_RATE SENSOR_HZ(10)
154 SENSOR_HZ(10),
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c418 SENSOR_HZ(10.0f),
419 SENSOR_HZ(20.0f),
420 SENSOR_HZ(50.0f),
421 SENSOR_HZ(100.0f),
/device/google/contexthub/firmware/os/inc/
Dsensors.h239 #define SENSOR_HZ(_hz) ((uint32_t)((_hz) * 1024.0f)) macro
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c38 #define ACCEL_MIN_RATE SENSOR_HZ(50)
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c41 #define SENSOR_HZ(_hz) ((uint32_t)((_hz) * 1024.0f)) macro
494 mConfigCmd.rate = SENSOR_HZ((float)atoi(argv[4])); in main()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c75 #define ROHM_RPR0521_DEFAULT_RATE SENSOR_HZ(5)
248 SENSOR_HZ(5),
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c99 #define AMS_TMD4903_DEFAULT_RATE SENSOR_HZ(5)
272 SENSOR_HZ(5),
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c71 #define DEFAULT_PROX_RATE_HZ SENSOR_HZ(5.0f)
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c57 #define ACCEL_MIN_RATE_HZ SENSOR_HZ(15) // 15 HZ
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c39 #define MINIMUM_INTERVAL_DEFAULT_HZ SENSOR_HZ(1.0f)