26 LCD CONTROLLER (LCDC)
26-42
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
D2
CTLCNT_RUN: TFT_CTL0–2 Control Counter Run/Stop Bit
Starts and stops the TFT_CTL0–2 control counters.
1 (R/W): Run
0 (R/W): Stop (default)
The LCDC has a built-in counters to control the TFT_CTL0–2 signal output timings. Setting CTL-
CNT_RUN to 1 starts the counters to generate the TFT_CTL0 (PS), TFT_CTL1 (CLS), and TFT_CTL2
(REV) signals programmed by the application. Be sure to set this bit to 1 when using the TFT_CTL0–2
signals.
When CTLCNT_RUN = 0, the counters stop counting. When the TFT_CTL0–2 signals are not used,
set this bit to 0 to reduce power consumption.
D1
FPSHIFT_POL: FPSHIFT Polarity Bit
Selects the polarity of the FPSHIFT (DCLK) signal for HR-TFT panels.
1 (R/W): Falling edge
0 (R/W): Rising edge (default)
When FPSHIFT_POL is set to 1, the FPDAT[23:0] output signal toggles at the rising edge (sampled at
the falling edge) of the FPSHIFT (DCLK) signal. When FPSHIFT_POL is set to 0, the FPDAT[23:0]
output signal toggles at the falling edge (sampled at the rising edge) of the FPSHIFT (DCLK) signal.
D0
CTL01SWAP: TFT_CTL0/TFT_CTL1 Swap Bit
Swaps the signal between TFT_CTL1 and TFT_CTL0.
1 (R/W): Swapped (TFT_CTL0 = CLS, TFT_CTL1 = PS)
0 (R/W): Not swapped (TFT_CTL0 = PS, TFT_CTL1 = CLS) (default)
TFT_CTL1 Pulse Register (LCDC_TFT_CTL1)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
TFT_CTL1
Pulse Register
(LCDC_TFT_
CTL1)
0x302044
(32 bits)
D31–26 –
reserved
–
–
–
0 when being read.
D25–16 CTL1STP
[9:0]
TFT_CTL1 pulse stop offset
TFT_CTL1 pulse width
= (CTL1STP - 1) Ts
Stop offset = C 1 [Ts] 0x0 R/W
*
2: For TFT
This register is
enabled when
CTLCNT_RUN = 1.
D15–10 –
reserved
–
–
–
0 when being read.
D9–0 CTL1ST
[9:0]
TFT_CTL1 pulse start offset
Start offset = CTL1ST [Ts]
0x0 R/W (
*
2)
Note: This register is used only for setting HR-TFT panel parameters. When using an STN panel, leave
this register unaltered as 0x0.
D[31:26] Reserved
D[25:16] CTL1STP[9:0]: TFT_CTL1 Pulse Stop Offset Bits
Specifies the TFT_CTL1 (CLS) pulse end position with an offset value (in pixel clock units) from the
FPLINE pulse start position. (Default: 0x0)
D[15:10] Reserved
D[9:0]
CTL1ST[9:0]: TFT_CTL1 Pulse Start Offset Bits
Specifies the TFT_CTL1 (CLS) pulse start position with an offset value (in pixel clock units) from the
FPLINE pulse start position. (Default: 0x0)
Setting this register configures the TFT_CTL1 pulse width to “CTL1STP[9:0] - CTL1ST[9:0] + 1 [Ts].”
To enable this register, set CTL1CTL/LCDC_TFTSO register and CTLCNT_RUN/LCDC_TFTSO reg-
ister to 1.