Patent ID: 7646371

Claim:
A driver circuit for driving data lines of an electro-optical device, the driver circuit comprising: an operational amplifier which drives the data line by a rail-to-rail operation or a non-rail-to-rail operation based on a grayscale voltage corresponding to one of first to Pth (P is an integer of four or more) grayscale values; and an operational amplifier control section which causes the operational amplifier to perform the rail-to-rail operation or the non-rail-to-rail operation based on grayscale data; when the sth (1≦s≦P, s is an integer) grayscale value corresponding to the grayscale data is in a range of the qth (1<q<P, q is an integer) to rth (q<r<P, r is an integer) grayscale values, the operational amplifier driving the data line by the non-rail-to-rail operation based on the grayscale voltage corresponding to the sth grayscale value; and when the sth grayscale value is not in the range of the qth to rth grayscale values, the operational amplifier driving the data line by the rail-to-rail operation based on the grayscale voltage corresponding to the sth grayscale value.