主权项 |
1. A display device having a touch detection function, the display device comprising:
a display section performing display based on an image signal; a plurality of drive electrodes arranged side-by-side and extending in a direction; a plurality of detection electrodes arranged side-by-side, extending to intersect the drive electrodes, allowing an electrostatic capacitance to be formed at each of intersections of the drive electrodes and the detection electrodes, and each outputting a detection signal in response to driving of each of the drive electrodes; a signal correction section correcting the detection signals outputted from the detection electrodes, through determining a reference based on the detection signals, and through subtracting the determined reference from each of the detection signals; and a detecting section detecting an external proximity object based on corrected detection signals provided from the signal correction section, wherein the drive electrodes function as a plurality of display horizontal lines for the display section by being supplied with a display drive signal, and function as a plurality of detection horizontal lines for detecting the external proximity object by being supplied with a touch detection signal for generating the detection signal, and touch detection is performed in each predetermined period, and a touch detection period in which the touch detection is performed by being supplied with the touch drive signal and a display period in which display is performed by being supplied with the display drive signal are not overlapped with each other, wherein the predetermined period is shorter than one frame period that includes a plurality of touch detection periods and a plurality of display periods, and the display is performed by using one drive electrode in each display period, and the touch detection is performed by using one drive electrode in each touch detection period, wherein the touch detection period and the display period are alternately repeated in the one frame period such that scanning of the touch detection is performed throughout an entire touch detection plane, and wherein the signal correction section corrects the detection signals based on the detection signals obtained in the one frame period. |