Home
last modified time | relevance | path

Searched refs:SEC_TO_NANOS (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dmacros.h41 #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/
Daosp_nano_cal_parameters.h57 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/
Dsample_rate_estimator.c41 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/
Dover_temp_cal.h137 #define OTC_USE_RECENT_OFFSET_TIME_NANOS (SEC_TO_NANOS(30))
143 #define OTC_REFRESH_MODEL_NANOS (SEC_TO_NANOS(30))
Dover_temp_cal.c53 #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/
Dgyro_cal.c35 #define GYRO_WATCHDOG_TIMEOUT_NANOS (SEC_TO_NANOS(5))
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c3218 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/
Dbosch_bmi160.c3866 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/
Dst_lsm6dsm.c5111 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()