Patent attributes
In one example, an apparatus is provided. The apparatus includes a photodiode, a charge sensing unit, an analog-to-digital converter (ADC), and a controller. The controller is configured to: enable the photodiode to generate charge in response to incident light, accumulate at least a portion of the charge as residual charge until the photodiode becomes saturated by the residual charge, and transfer the remaining portion of the charge to the charge sensing unit as overflow charge if the photodiode becomes saturated by the residual charge. The controller is further configured to: generate, using the ADC, a first digital output based on the residual charge; after generating the first digital output, generate, using the ADC, a second digital output based on the overflow charge; and generate a digital representation of an intensity of the incident light based on at least one of the first digital output or the second digital output.