參數資料
型號: MAX4455
廠商: Maxim Integrated Products, Inc.
英文描述: Triple Differential Transceivers 20-SOIC -40 to 85
中文描述: 任意圖形隨屏顯示視頻發(fā)生器
文件頁數: 25/30頁
文件大?。?/td> 663K
代理商: MAX4455
M
Arbitrary Graphics On-Screen Display
Video Generator
______________________________________________________________________________________
25
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Example code: Copying a block from host memory to the on-screen display.
// External definitions required for:
// Read_Register
// Write_Register
// get_quadpixels (x, y, nybble_3, nybble_2, nybble_1, nybble_0);
//---------------------------------------------------------------------------
// Copy a rectangular area from PC memory to the On Screen Display memory
// Registers affected: ch_STATUS, ch_QPH, ch_QPL, ch_QPLINEH, ch_QPLINEL, ch_QPHORIZ
void
osd_from_win
(int
ch_base
,
TCanvas
*
canvas
,
int
xleft
,
int
ytop
,
int
xright
,
int
ybottom
)
{
// In the STATUS register, set HINC=1 and clear VINC=0
unsigned
__int8 status
=
Read_Register
(
ch_base
|
ch_STATUS
);
status
&=~
ch_STATUS_VINC
;
status
|=
ch_STATUS_HINC
;
Write_Register
(
ch_base
|
ch_STATUS
,
status
);
// Make sure that xleft and xright are on quad pixel boundaries
xleft
=
(int)
(
floor
(
xleft
/
4.0
+
0.5
))
*
4
;
xright
=
(int)
(
floor
(
xright
/
4.0
+
0.5
)
+
1
)
*
4
;
for
(int
y
=
ytop
;
y
<=
ybottom
;
y
++)
{
// Under Windows, be a good citizen and service the message quque.
Application
->
ProcessMessages
();
if
(
Application
->
Terminated
)
return;
unsigned
char
linel
=
y
&
0xff
;
unsigned
char
lineh
=
(
y
&
0x100
)
>>
8
;
Write_Register
(
ch_base
|
ch_QPLINEH
,
lineh
);
Write_Register
(
ch_base
|
ch_QPLINEL
,
linel
);
unsigned
char
horiz
=
(int)
(
floor
(
xleft
/
4.0
+
0.5
))
&
0xff
;
Write_Register
(
ch_base
|
ch_QPHORIZ
,
horiz
);
for
(int
x
=
xleft
;
x
<=
xright
;
x
+=
4
)
{
// In the MAX4455 Evaluation Software,
// the picture is copied from the host's screen.
// A real application would replace win_get_quadpixels with
// an application-specific data generating routine.
int
nybble_3
,
nybble_2
,
nybble_1
,
nybble_0
;
get_quadpixels
(
x
,
y
,
nybble_3
,
nybble_2
,
nybble_1
,
nybble_0
);
unsigned
__int8 qph
=
nybble_3
*
0x10
+
nybble_2
;
unsigned
__int8 qpl
=
nybble_1
*
0x10
+
nybble_0
;
Write_Register
(
ch_base
|
ch_QPH
,
qph
);
Write_Register
(
ch_base
|
ch_QPL
,
qpl
);
Write_Register
(
ch_base
|
ch_COMMAND
,
ch_COMMAND_WRITE
);
}
}
}
Listing 4. Rectangle Block Copy
相關PDF資料
PDF描述
MAX4455ECQ Triple Differential Transceivers 20-SOIC -40 to 85
MAX445CPG Triple Differential Transceivers 20-SSOP -40 to 85
MAX4504EPA Low-Voltage, Dual-Supply, SPST, CMOS Analog Switches
MAX4504ESA Low-Voltage, Dual-Supply, SPST, CMOS Analog Switches
MAX4504EUK Low-Voltage, Dual-Supply, SPST, CMOS Analog Switches
相關代理商/技術參數
參數描述
MAX4455ECQ 功能描述:視頻開關 IC RoHS:否 制造商:Texas Instruments 開關數量:4 開啟電阻(最大值):12 Ohms 傳播延遲時間: 開啟時間(最大值): 關閉時間(最大值): 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:WQFN-42 封裝:Reel
MAX4455ECQ+D 功能描述:視頻開關 IC RoHS:否 制造商:Texas Instruments 開關數量:4 開啟電阻(最大值):12 Ohms 傳播延遲時間: 開啟時間(最大值): 關閉時間(最大值): 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:WQFN-42 封裝:Reel
MAX4455ECQ+TD 功能描述:視頻開關 IC Integrated Circuits (ICs) RoHS:否 制造商:Texas Instruments 開關數量:4 開啟電阻(最大值):12 Ohms 傳播延遲時間: 開啟時間(最大值): 關閉時間(最大值): 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:WQFN-42 封裝:Reel
MAX4455ECQ-T 功能描述:視頻開關 IC RoHS:否 制造商:Texas Instruments 開關數量:4 開啟電阻(最大值):12 Ohms 傳播延遲時間: 開啟時間(最大值): 關閉時間(最大值): 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:WQFN-42 封裝:Reel
MAX4455EVKIT 制造商:Maxim Integrated Products 功能描述:ARBITRARY GRAPHICS ON-SCREEN DISPLAY VIDEO GE - Bulk