ST2202A
ꢀ
ꢀ
FIGURE 16-2 LCD Interface Timing for 1-/4-Bit Data
ꢀ
16.4 Control Registers
16.4.1 LCD Screen Starting Address Register
TheꢀLCDꢀscreenꢀstartingꢀaddressꢀregisterꢀ(LSSA)ꢀisꢀusedꢀtoꢀinformꢀtheꢀstartingꢀaddressꢀofꢀcurrentꢀdisplayꢀbuffer.ꢀDifferentꢀ
LCDꢀframesꢀcanꢀbeꢀswitchedꢀquicklyꢀbyꢀsimplyꢀmodifyingꢀcontentꢀofꢀLSSA.ꢀTheꢀLCDꢀcontrollerꢀwillꢀstartꢀfetchingꢀpixelꢀdataꢀ
fromꢀsystemꢀmemoryꢀatꢀthisꢀaddress.ꢀ
ꢀ
TABLE 16-2 LCD Screen Starting Address Register
Address Name R/W Bit 7/15 Bit 6/14 Bit 5/13 Bit 4/12 Bit 3/11 Bit 2/10 Bit 1/9
Bit 0/8
Default
$040 LSSAL Wꢀ
SSA[7]ꢀ SSA[6]ꢀ SSA[5]ꢀ SSA[4]ꢀ SSA[3]ꢀ SSA[2]ꢀ SSA[1]ꢀ SSA[0]ꢀ 0000ꢀ0000ꢀ
$041 LSSAH
Wꢀ SSA[15]ꢀ SSA[14]ꢀ SSA[13]ꢀ SSA[12]ꢀ SSA[11]ꢀ SSA[10]ꢀ SSA[9]ꢀ SSA[8]ꢀ 0000ꢀ0000ꢀ
ꢀ
Bitꢀ15~0:ꢀ ꢀ LSSA[15:0]ꢀ:ꢀ16ꢁbitꢀstartingꢀaddressꢀofꢀdisplayꢀbufferꢀ
ꢀ
ꢀ
16.4.2 LCD Virtual Page Width Register
TheꢀLCDꢀvirtualꢀpageꢀwidthꢀregisterꢀ(LVPW)ꢀcontainsꢀtheꢀwidthꢀofꢀaꢀvirtualꢀscreenꢀthatꢀmayꢀbeꢀwiderꢀthanꢀrealꢀsetting.ꢀThisꢀ
fieldꢀisꢀusedꢀforꢀcalculatingꢀtheꢀstartingꢀpointꢀofꢀnextꢀline.ꢀ
ꢀ
TABLE 16-3 LCD Virtual Page Width Register
Address Name R/W
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default
$042 LVPW
Wꢀ
VP[7]ꢀ
VP[6]ꢀ
VP[5]ꢀ
VP[4]ꢀ
VP[3]ꢀ
VP[2]ꢀ
VP[1]ꢀ
VP[0]ꢀ 0000ꢀ0000ꢀ
ꢀ
Bitꢀ7~0:ꢀ ꢀ VP[7:0]ꢀ:ꢀWidthꢀofꢀvirtualꢀpageꢀwidthꢀ
Virtualꢀpageꢀwithꢀ=ꢀLVPWꢀ*ꢀ16ꢀ
ꢀ
ꢀ
16.4.3 LCD Screen Width Register
TheꢀLCDꢀscreenꢀwidthꢀregisterꢀ(LXMAX)ꢀisꢀusedꢀtoꢀspecifyꢀtheꢀwidthꢀofꢀtheꢀLCDꢀpanelꢀinꢀpixels.ꢀEveryꢀbitꢀofꢀdisplayꢀdataꢀ
mapsꢀtoꢀoneꢀpixelꢀofꢀLCDꢀpanel.ꢀLXMAXꢀrepresentsꢀnumberꢀofꢀdataꢀinꢀbyteꢀofꢀeachꢀline.ꢀ
Verꢀ2.5ꢀ
43
/75
ꢀ
9/16/2008ꢀ