Patent ID: 7379046

Claim:
A driver which drives a plurality of data lines of an electro-optical device that includes a plurality of pixels, a plurality of scan lines, and the data lines, the driver comprising: an instruction signal generation circuit which generates a data-fetch-start-instruction-signal; a data latch which fetches display data at data fetch timings including a fetch start timing that is determined by the data-fetch-start-instruction-signal; and a data line drive circuit which drives the data lines, based on the display data fetched into the data latch, wherein the instruction signal generation circuit includes a fetch-start-timing-setting-register into which is set data for determining the fetch start timing of the display data, and wherein the instruction signal generation circuit generates the data-fetch-start-instruction-signal having a voltage that changes when a period corresponding to the data set in the fetch-start-timing-setting-register has elapsed, with reference to a reference timing, the driver further comprising: a mode setting register for setting the driver into a master mode that is a mode in which the data-fetch-start-instruction-signal is generated by the instruction signal generation circuit or a slave mode that is a mode in which an enable input signal is received from outside of the driver; and a switching circuit which outputs the data-fetch-start-instruction-signal or the enable input signal to the data latch, in accordance with the mode set by the mode setting register, wherein the switching circuit selects and outputs the data-fetch-start-instruction-signal when the driver is set to the master mode by the mode setting register, and selects and outputs the enable input signal when the driver is set to the slave mode by the mode setting register, and wherein the data latch fetches the display data, based on the output from the switching circuit.