Home
last modified time | relevance | path

Searched refs:MSEC_TO_NANOS (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dmacros.h40 #define MSEC_TO_NANOS(x) (static_cast<uint64_t>((x) * UINT64_C(1000000))) macro
42 #define MSEC_TO_NANOS(x) ((uint64_t)((x) * UINT64_C(1000000))) // NOLINT macro
45 #define SEC_TO_NANOS(x) MSEC_TO_NANOS((x) * UINT64_C(1000))
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c2617 if ((now - T(last_sync_time)) > MSEC_TO_NANOS(100)) {
2648 if (updated_data_timestamp > (data_timestamp + MSEC_TO_NANOS(1))) {
2649 updated_data_timestamp = data_timestamp + MSEC_TO_NANOS(1);
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c42 #define GYROCAL_WAIT_TIME_NANOS (MSEC_TO_NANOS(100))
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3856 MSEC_TO_NANOS(800), // t0
3900 MSEC_TO_NANOS(500), // min_temp_update_period_nanos
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c5095 MSEC_TO_NANOS(800), // t0 in lsm6dsm_startTask()
5139 MSEC_TO_NANOS(500), // min_temp_update_period_nanos in lsm6dsm_startTask()