Timestamp data collection for TDC1 in C - Svanberg, Erik (2022)