
GL843 High Speed USB2.0 With ADF 2-in-1 Scanner Controller For 3x
2000-2006 Genesys Logic Inc. - All rights reserved.
Page 37
Offset 32h
……
..
……………………………………
..
…………
..
…
.
…
..
……
.
…
. Default value = 8
’
h00
ENDPIXEL15 ENDPIXEL14
ENDPIXEL13
ENDPIXEL12
ENDPIXEL11 ENDPIXEL10
ENDPIXEL9 ENDPIXEL8
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7-0
ENDPIXEL[15:8
]
The end pixel position of horizontal line (unit : pixel count).
ENDPIXEL=(TGW+2*TGSHLD)+end pixels number (count from CCD pixel 0)
Note:
1.It cannot be programmed to logic zero.
2.If the DPI9600 control bit is set to
“
1
”
,the STRPIXEL is doubled.
Offset 33h
……
..
……………………………………
..
…………
..
…
.
…
..
……
.
…
. Default value = 8
’
h00
ENDPIXEL7 ENDPIXEL6 ENDPIXEL5 ENDPIXEL4 ENDPIXEL3 ENDPIXEL2 ENDPIXEL1 ENDPIXEL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7-0
ENDPIXEL[7:0]
The end pixel position of horizontal line (unit : pixel count).
ENDPIXEL=(TGW+2*TGSHLD)+end pixels number (count from CCD pixel 0)
Note:
1.It cannot be programmed to logic zero.
2.If the DPI9600 control bit is set to
“
1
”
,the STRPIXEL is doubled.
Offset 34h
……
..
……………………………………
..
…………
..
…
.
…
..
……
.
…
. Default value = 8
’
h00
DUMMY7 DUMMY6 DUMMY5 DUMMY4 DUMMY3 DUMMY2 DUMMY1 DUMMY0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7-0 DUMMY[7:0]
The CCD dummy & optical black pixels number (unit : pixel count).
Note: It cannot be programmed to logic zero.
Reg30,31,32,33 and 34 setting rule.
TGSHLD(Reg1D) RGW(Reg17) TGSHLD(Reg1D)
CCD TG
CCD clock
CCD pixel no: N-1 N
For example, start pixel is 65 ,end pixel is 100 and CCD dummy pixel is 64,
Then STRPIXEL=(TGW+2*TGSHLD)+65.
ENDPIXEL=(TGW+2*TGSHLD)+100.
DUMMY =(TGW+2*TGSHLD)+64.
0 1 2 3 4
Offset 35h
……
..
…
..
……………………
..
………
..
…
.
………
..
…
.
…
..
……
.
…
. Default value = 8
’
h00
MAXWD24 MAXWD23 MAXWD22 MAXWD21 MAXWD20 MAXWD19 MAXWD18 MAXWD17
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7-0
MAXWD[24:17]
Maximum word size per line for ASIC estimation. The unit is 2 words.
If available buffer size < MAXWD, then
“
buffer full
”
state will be set. The
scanner execute backtracking.