A 0.5-μm CMOS 4.0-Gbit/s serial link transceiver with data recovery using oversampling