Supply of Single photon avalanche detector