Patent ID: 7154490

Claim:
A display driver that drives a display section based on display data, the display driver comprising: a mounting state setting register in which mounting state setting data showing a mounting state of the display driver is set; a RAM for storing the display data; a row scanning flag generating circuit that generates, based on the mounting state setting data, a row scanning flag showing a scanning direction of row addresses for writing the display data into the RAM; a row address decoder that decodes row addresses corresponding to the scanning direction designated by the row scanning flag and designates rows in the RAM; a column address decoder that decodes column addresses for writing the display data into the RAM and designates columns in the RAM; a display address decoder that decodes a display address for reading the display data from the RAM; and a driving circuit that drives the display section based on the display data read from the RAM in accordance with a decoding result of the display address decoder, wherein the display data is written into a storage region in the RAM that is specified by the row addresses and the column addresses.