Searched refs:SEC_TO_NANOS (Results 1 – 9 of 9) sorted by relevance
/device/google/contexthub/firmware/os/algos/common/math/ |
D | macros.h | 41 #define SEC_TO_NANOS(x) MSEC_TO_NANOS(x * UINT64_C(1000)) macro 42 #define MIN_TO_NANOS(x) SEC_TO_NANOS (x * UINT64_C(60)) 49 (SEC_TO_NANOS(1024) / (static_cast<uint64_t>(hz * 1024))) 52 (SEC_TO_NANOS(1024) / ((uint64_t)(hz * 1024))) // NOLINT
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | aosp_nano_cal_parameters.h | 57 SEC_TO_NANOS(1.4), // min_still_duration_nanos 58 SEC_TO_NANOS(1.4), // max_still_duration_nanos [see, NOTE 1]
|
/device/google/contexthub/firmware/os/algos/calibration/sample_rate_estimator/ |
D | sample_rate_estimator.c | 41 max_interval_sec * SEC_TO_NANOS(1); in sampleRateEstimatorInit() 89 (SEC_TO_NANOS(1) / sample_rate_estimator->interval_accumulator_nanos); in sampleRateEstimatorUpdate()
|
/device/google/contexthub/firmware/os/algos/calibration/over_temp/ |
D | over_temp_cal.h | 137 #define OTC_USE_RECENT_OFFSET_TIME_NANOS (SEC_TO_NANOS(30)) 143 #define OTC_REFRESH_MODEL_NANOS (SEC_TO_NANOS(30))
|
D | over_temp_cal.c | 53 #define OTC_WAIT_TIME_NANOS (SEC_TO_NANOS(0.1)) 56 #define OTC_PRINT_TEMP_NANOS (SEC_TO_NANOS(1))
|
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_cal.c | 35 #define GYRO_WATCHDOG_TIMEOUT_NANOS (SEC_TO_NANOS(5))
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 3218 SEC_TO_NANOS(5.0f), // Min stillness period = 5.0 seconds 3219 SEC_TO_NANOS(5.9f), // Max stillness period = 6.0 seconds (NOTE 1) 3222 SEC_TO_NANOS(1.5f), // Analysis window length = 1.5 seconds
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 3866 SEC_TO_NANOS(5), // min_still_duration_nanos 3867 SEC_TO_NANOS(5.9f), // max_still_duration_nanos [see, NOTE 1] 3869 SEC_TO_NANOS(1.5f), // window_time_duration_nanos
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 5111 SEC_TO_NANOS(5), // min_still_duration_nanos in lsm6dsm_startTask() 5112 SEC_TO_NANOS(5.9f), // max_still_duration_nanos [see, NOTE 1] in lsm6dsm_startTask() 5114 SEC_TO_NANOS(1.5f), // window_time_duration_nanos in lsm6dsm_startTask()
|