Color Liquid Crystal Display Controller
LH79524/LH79525 User’s Guide
4-20
Version 1.0
4.5.3 CLCDC Register Descriptions
4.5.3.1 Horizontal Timing Panel Control Register (TIMING0)
The TIMING0 Register controls:
• Horizontal Synchronization Pulse Width (HSW)
• Horizontal Front Porch (HFP) period
• Horizontal Back Porch (HBP) period
• Pixels-Per-Line (PPL)
Table 4-14. TIMING0 Register
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
HBP
HFP
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
HSW
PPL
///
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RO
RO
ADDR
0xFF 0x00
Table 4-15. TIMING0 Fields
BIT
NAME
DESCRIPTION
31:24
HBP
Horizontal Back Porch
HBP specifies the number of LCDDCLK periods
between the end of the LCDLP signal and the beginning of valid data. HBP can
be programmed for a delay of 1 to 256 pixel clock cycles.
HBP = (LCDDCLK periods) – 1
23:16
HFP
Horizontal Front Porch
HFP specifies the number of LCDDCLK periods
between the end of valid data and the beginning of the LCDLP signal. HFP can
be programmed for a delay of 1 to 256 pixel clock cycles.
HFP = (LCDDCLK periods) – 1
15:8
HSW
Horizontal Synchronization Pulse Width
HSW specifies the width of the
LCDLP signal, in LCDDCLK periods. In STN modes, this signal is referred to
as the ‘line clock’. In TFT modes, this signal is referred to as the ‘horizontal
synchronization pulse’.
HSW = (LCDDCLK periods) – 1
7:2
PPL
Pixels-Per-Line
PPL specifies the number of pixels in each line of the
LCD panel. The PPL value sets the number of pixel clocks that occur before
the value in the HFP bit field is applied (that is, before the LCDLP signal is
asserted). The PPL bit field is a 6-bit value that represents a number
corresponding to the actual pixels-per-line, which can range from 16 to 1,024. At
reset this field is 0, which corresponds to 16 actual pixels-per-line.
PPL = (Actual pixels-per-line/16) – 1
Actual pixels-per-line = 16 × (PPL + 1)
1:0
///
Reserved
Reading returns 0. Write the reset value.