Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c39 #define NS2US(x) (x >> 10) // convert nsec to approx usec macro
41 #define PROPOSAL_SETTLE_TIME NS2US(40000000ull) // 40 ms
42 #define PROPOSAL_MIN_TIME_SINCE_FLAT_ENDED NS2US(500000000ull) // 500 ms
43 #define PROPOSAL_MIN_TIME_SINCE_SWING_ENDED NS2US(300000000ull) // 300 ms
44 #define PROPOSAL_MIN_TIME_SINCE_ACCELERATION_ENDED NS2US(500000000ull) // 500 ms
47 #define FLAT_TIME NS2US(1000000000ull) // 1 sec
50 #define SWING_TIME NS2US(300000000ull) // 300 ms
52 #define MAX_FILTER_DELTA_TIME NS2US(1000000000ull) // 1 sec
53 #define FILTER_TIME_CONSTANT NS2US(200000000ull) // 200 ms
68 #define TILT_REFERENCE_PERIOD NS2US(1800000000000ull) // 30 min
[all …]