3 ms·
It is easier than that. You can use unsigned integer wraparound. Truncate the current wall clock time to a 10 bit unsigned, then subtract the number reported
by hedora 4y ago
It is easier than that. You can use unsigned integer wraparound.
Truncate the current wall clock time to a 10 bit unsigned, then subtract the number reported by the device, and interpret the result as an unsigned 10 bit. That's the amount of time that has passed since the device emitted its timestamp. (Assuming at most one wraparound event.)