Patent ID: 8237694

Claim:
A method for controlling timings of a display device using a single data enable signal, comprising: recording a first count value of a counter at a rising edge of a data enable signal in a first display period of a display device for controlling a length of a horizontal line, and resetting a value of the counter after having recorded the first count value; recording a second count value of the counter at a falling edge of the data enable signal in the first display period for identifying a time when the data enable signal switches from a high level to a low level in the first display period; after entering a porch period subsequent to the first display period, resetting the value of the counter when the value of the counter reaches the first count value; and at the rising edge of the data enable signal in a second display period subsequent to the porch period, resetting the value of the counter and controlling the length of the horizontal line in the second display period based on the first count value.