System and method for measuring light sensor output in an electronic device
A method, an electronic device, and a computer program product for measuring light sensor output in a display. The method includes receiving periodic synchronization signals from a display, 608, and generating one or more timing signals based on the received periodic synchronization signals, 610. Th...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method, an electronic device, and a computer program product for measuring light sensor output in a display. The method includes receiving periodic synchronization signals from a display, 608, and generating one or more timing signals based on the received periodic synchronization signals, 610. The method further includes tracking a number of timing signals and in response to each timing signal, recording output signals from a light sensor. The output signals correspond to a light level detected by the light sensor. The method further includes accumulating the recorded output signals over a threshold number of timing signals, 616. The method includes determining if a value of the counter is at least equal to or greater than the threshold number, 618. In response to determining that the value of the counter is at least equal to or greater than the threshold number, generating a composite output signal based on the accumulated recorded output signals, 622. The method may be used to sense output from the light sensor only during a display blanking period to avoid light emitted from the display interfering with the light sensing process. |
---|