
31
STK6005
[2:0]
[7:0]
AWinVS[10:8]
SetX[7:0]
0x1
0x00
R/W
R/W To set a horizontal position (low byte) for reading out a
pixel value
R/W To set a vertical position (low byte) for reading out pixel
value
R/W To set a vertical position (high byte) for reading out a
pixel value
R/W To set a horizontal position (high byte) for reading out a
pixel value
R/W H-Sync period tolerance
R/W V-Sync period tolerance
R/W To Select R/G/B to calculate
R/W To mask off non-effective bits
R/W 0/1 : to select internal DE / AWin for active window
R/W 0/1= vertical period counted by line/144*RefCLK
R/W 0/1= horizontal period counted by VCLK/RefCLK
R/W To select HS/VS source for auto-adjustment
00 : HSI/VSI or Hsync/Vsync
01 : VGAHS/VSI
10 : Csync
11 : DE
R/W 1 = to enable line buffer interrupt
R/W 1 = to enable PVS leading edge interrupt
R/W 1 = to enable input V-Sync polarity change interrupt
R/W 1 = to enable input H-Sync polarity change interrupt
R/W 1 = to enable Vertical period change interrupt
R/W 1 = to enable Horizontal period change interrupt
R/W 1 = to interrupt when an input V-Sync trailing edge
triggers
R/W 1 = to interrupt when an input V-Sync leading edge
triggers
Note: writing to this register will clear
all interrupt flags.
0x79
0x7A
[7:0]
SetY[7:0]
0x00
0x7B
[6:4]
SetY[10:8]
0x1
[3:0]
SetX[11:8]
0x03
0x7C
[7:4]
[3:0]
[4:2]
[1:0]
[4]
[3]
[2]
[1:0]
VCntTol[3:0]
HCntTol[3:0]
MaskRGB[2:0]
MaskBit[1:0]
SelWDE
SelVCnt
SelHCnt
SelHV
0x2
0x2
0x7
0x0
1
1
1
0x0
0x7D
0x7E
0x7F
[7]
[6]
[5]
[4]
[3]
[2]
[1]
EnIntBuf
EnIntPVS
EnIntVSPol
EnIntHSPol
EnIntVCT
EnIntHCT
EnIntVS2
0
0
0
0
0
0
0
[0]
EnIntVS1
0
6.7.1 Auto-Adjustment (1)
Address
0x80
[7:0]
0x81
[7:0]
0x82
[7:0]
0x83
[3:0]
0x84
[7:0]
0x85
[3:0]
0x86
[7:0]
0x87
[3:0]
0x88
[7:0]
0x89
[3:0]
0x8A
[7:0]
Bit
Name
HCT[7:0]
HCT[15:8]
VCT[7:0]
VCT[11:8]
VSHC[7:0]
VSHC[11:8]
HPOSL[7:0]
HPOSL[11:8]
HPOSR[7:0]
HPOSR[11:8]
HPOSLC[7:0]
Initial R/W
Description
R
R
R
R
R
R
R
R
R
R
R
horizontal period count (period of
16 lines)
vertical period count (in lines)
horizontal position of input V-Sync leading edge
the most left position of valid pixels
the most right position of valid pixels
pixel counts of the most left position
Back to Contents Table