Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c657 uint64_t data_timestamp; member
2565 static void computeTimeSync(TASK, const uint8_t *data, uint32_t count, uint64_t data_timestamp) argument
2610 data_timestamp - (uint64_t)duration_us * 1000ULL * sample_nb);
2622 uint64_t updated_data_timestamp = data_timestamp;
2627 …limit_ns = U64_DIV_BY_CONST_U16((data_timestamp - T(last_sync_data_ts)) * 10, 1000); // 1% (100ms…
2628 …adjust_ns = U64_DIV_BY_CONST_U16((data_timestamp - T(last_sync_data_ts)) * 1, 10000); // 0.01% (10…
2629 min_rtc = data_timestamp - limit_ns; // actual ts - x
2630 max_rtc = data_timestamp + limit_ns; // actual ts + x
2648 if (updated_data_timestamp > (data_timestamp + MSEC_TO_NANOS(1))) {
2649 updated_data_timestamp = data_timestamp + MSEC_TO_NANOS(1);
[all …]