A 2.7V 9.8Gb/s burst-mode transimpedance amplifier with fast automatic gain locking and coarse threshold extraction