Building Blocks of Advanced TCSPC Devices