A low-power 10-bit 50 MS/s CMOS successive approximation register ADC