
Confidential
11
www.national.com
Functional Description
(continued)
2.0
The integrated timing and control circuit allows any size window
in any position within the active region of the array to be read out
with a 1x1 pixel resolution. The window read out is called the
“
Display Window
”.
WINDOWING
A “
Scan Window
” must be defined first, by programing the start
and end row addresses as shown in Figure 13. Four coordinates
(start row address, start column address, end row address &
end column address) are programmed to define the size and
location of the “
Display Window
” to be read out (
see Figure 13
).
display col
start address
start address
Figure 13. Windowing
Notes:
The “
Display Window
” must always be defined within the
“
Scan Window
”.
A “
Display Window
” can only be read out in the progressive
scan mode.
By default the “
Display Window
” is the complete array.
2.1
Two registers (SROWS & SROWE) are provided to program the
size of the
scan window.
The start and end row address of the
scan window
is given by:
Programming the scan window
Where:
SwStartRow
is the contents of the
Scan Window
start row
register (SROWS)
SwEndROW
is the contents of the
Scan Window
end row reg-
ister (SROWE)
SwLsb
is bit 6 of the
Display Window
LSB register
(DWLSB)
2.2
Five register (DROWS, DROWE, DCOLS, DCOLE and DWLSB)
are provided to program the display window as described in the
register section of this datasheet.
Programming the display window
3.0
READ OUT MODES
3.1
In progressive scan readout mode, every pixel in every row in
the display window is consecutively read out, one pixel at a time,
starting with the left most pixel in the top most row. Hence, for
the example shown in Figure 13, the read out order will be
a0,b0,...,r0
then
a1,b1,...,r1
and so on until pixel
r20
is read out.
Progressive Scan Readout Mode
a b c d e f g h i j k l mn o p q r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
R
0
Column/Horizontal
Figure 14: Progressive Scan Read Out Mode
3.2
In interlaced readout mode, pixels are read out in two fields, an
Odd Field
followed by an
Even Field
.
Interlaced Readout Mode
The
Odd Field,
consisting of all even rows contained within the
display window, is read out first. Each pixel in the “
Odd Field
” is
consecutively read out, one pixel at a time, starting with the left
most pixel in the top most even row.
The
Even Field,
consisting of all odd rows contained within the
display window, is then read out. Each pixel in the “
Even Field
”
is consecutively read out, one pixel at a time, starting with the
left most pixel in the top most odd row.
a b c d e f g h i j k l m n o p q r
2
4
6
8
10
12
14
16
18
20
0
R
Column/Horizontal
a b c d e f g h i j k l m n o p q r
Odd Field
Column/Horizontal
1
3
5
7
9
11
13
15
17
19
R
Even Field
Figure 15: Interlace Read Out Mode
Hence, for the example shown in Figure , the display window is
broken up into two fields, as shown in Figure . Pixels
a0,b0,...,r0
followed by
a2,b2,...,r2
and so on until pixels
a20,b20,...r20
in
the even field are read out first. The even field read out is fol-
lowed by pixels in the odd field, a1,b1,...,r1 then a3,b3,...,r3 until
pixels a19,b19,...,r19.
display row
start address
Active Pixel Array
Display Window
Scan Window
display row
end address
display col
end address
scan row
scan row
end address
scan row start address = (2* SwStartRow) + SwLsb
scan row end address = (2* SwEndRow) + 1 + SwLsb
L