Advanced ADC Architecture with Built-in Self Programming Logic