Patent attributes
An optical sensing circuit includes a first, a second, and a third optical sensing element and a sampling circuit. The first sensing element provides a first current from a first node to a second node according to an ambient light and a sensing signal. The second optical sensing element drains a second current from the second node to the first node according to the ambient light and the sensing signal. The third optical sensing element is coupled between the first node and the second node. The third optical sensing element receives a first color light, and transmits the first current to the second node or transmits the second current to the first node according to the first color light. The sampling circuit is turned on according to the sampling signal to output a detection signal based on the voltage level of the second node.