Integrated front-end electronics for single photon time-stamping in cryogenic dark matter detectors