/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_gpio.c | 68 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()
|
D | leds_lp3943.c | 131 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/ |
D | si7034a10.c | 234 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/ |
D | bosch_bmp280.c | 148 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/ |
D | bosch_bmi160.c | 585 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/ |
D | st_lsm6dsm.c | 996 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/ |
D | st_acc44.c | 309 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/ |
D | lps22hb.c | 323 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/ |
D | invensense_icm40600.c | 429 #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/ |
D | ams_tmd2772.c | 104 #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/ |
D | orientation.c | 59 #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/ |
D | hts221.c | 281 SENSOR_HZ(1.0f), 282 SENSOR_HZ(7.0f), 283 SENSOR_HZ(12.5f),
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 71 #define ISL29034_DEFAULT_RATE SENSOR_HZ(10) 154 SENSOR_HZ(10),
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 418 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/ |
D | sensors.h | 239 #define SENSOR_HZ(_hz) ((uint32_t)((_hz) * 1024.0f)) macro
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 38 #define ACCEL_MIN_RATE SENSOR_HZ(50)
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 41 #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/ |
D | rohm_rpr0521.c | 75 #define ROHM_RPR0521_DEFAULT_RATE SENSOR_HZ(5) 248 SENSOR_HZ(5),
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 99 #define AMS_TMD4903_DEFAULT_RATE SENSOR_HZ(5) 272 SENSOR_HZ(5),
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 71 #define DEFAULT_PROX_RATE_HZ SENSOR_HZ(5.0f)
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 57 #define ACCEL_MIN_RATE_HZ SENSOR_HZ(15) // 15 HZ
|
/device/google/contexthub/firmware/os/core/ |
D | nanohub_chre.c | 39 #define MINIMUM_INTERVAL_DEFAULT_HZ SENSOR_HZ(1.0f)
|