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 14, 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 row pairs 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 row pair.
The
Even Field,
consisting of all odd row pairs 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 row pair.
a b c d e f g h i j k l m n o p q r
1
4
5
8
9
12
13
16
17
0
R
Column/Horizontal
a b c d e f g h i j k l m n o p q r
Odd Field
2
3
6
7
10
11
14
15
18
19
R
Column/Horizontal
Even Field
Figure 15: Interlace Read Out Mode
Hence, for the example shown in Figure 15, the display window
is broken up into two fields, as shown in Figure 15. Pixels
a0,b0,...,r0
and
a1,b1,...,r1 are readout first
and so on until pix-
els
a17,b17,...r17
in the even field are read out. The even field
read out is followed by pixels in the odd field, a2,b2,...,r2 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