摘要 |
A sensing circuit includes: a data generating section for generating data representing the amount of light received by a plurality of optical detection circuits, which are provided in a detection region, for each unit period on the basis of detection signals output from the plurality of optical detection circuits; a setting section for variably setting a differential unit period number which is the number of unit periods between two unit periods having a difference to be acquired; a difference data generating section for sequentially generating difference data between the data, which is generated by the data generating section in the current unit period, and the data, which is generated by the data generating section in the unit period previous to the current unit period by the differential unit period number, for each of a plurality of the unit periods; and an approach detecting section for detecting whether or not an object is approaching the detection region on the basis of the difference data generated by the difference data generating section.
|