
UC1682
80x104RGB CSTN Controller-Driver
Revision 0.6
25
(33) S
ET
W
INDOW
P
ROGRAM
S
TARTING
R
OW
A
DDRESS
Action
C/D W/R D7
0
0
D6
1
D5
1
D4
1
D3
0
D2
1
D1 D0
0
1
1
Set WPP0
(Double byte command)
WPP0
register parameter
This command is to program the starting row address of RAM program window.
(34) S
ET
W
INDOW
P
ROGRAM
E
NDING
C
OLUMN
A
DDRESS
Action
C/D W/R D7
0
0
D6
1
WPC1[7:0]
register parameter
D5
1
D4
1
D3
0
D2
1
D1 D0
1
1
0
Set WPC1
(Double byte command)
This command is to program the ending column address of RAM program window.
(35) S
ET
W
INDOW
P
ROGRAM
E
NDING
R
OW
A
DDRESS
Action
C/D W/R D7
0
0
D6
1
D5
1
D4
1
D3
0
D2
1
D1 D0
1
1
1
Set WPP1
(Double byte command)
WPP1
register parameter
This command is to program the ending row address of RAM program window.
(36) S
ET
W
INDOW
P
ROGRAM
E
NABLE
Action
C/D W/R D7
0
0
D6
1
D5
1
D4
1
D3
1
D2
0
D1 D0
0
AC4
Set Window Program Enable AC[4]
1
This command is to enable the Window Program Function. Window Program Enable should always be reset
when changing the window program boundary and then set right before starting the new boundary program.
Window Program Function can be used to refresh the RAM data in a specified window of SRAM address.
When window programming is enabled, the CA and RA increment and wrap around will be automatically
adjusted, and therefore allow effective data update within the window.
The direction of Window Program will depend on the WA (AC[0]), RID (AC[2]), auto-increment order (AC[1])
and MX (LC[1]) register setting. WA decides whether the program RAM address advances to next
row/column after reaching the specified window column / row boundary. RID controls the RAM address
incrementing from WPP0 toward WPP1 (RID=0) or reverse the direction (RID=1). Auto-increment order
directs the RAM address increment vertically (AC[1]=1) or horizontally (AC[1]=0). MX results the RAM
column address incrementing from 103-WPC0 to 103-WPC1 (MX=1) or WPC0 to WPC1 (MX=0).