62
MT800M-AIC User’s Manual
//---------------------------------------------------------------------------
voidSet_F81966_Reg(unsignedcharREG,unsignedcharDATA)
{
Unlock_F81966();
outportb(F81966_INDEX_PORT, REG);
outportb(F81966_DATA_PORT, DATA);
Lock_F81966();
}
//---------------------------------------------------------------------------
unsignedcharGet_F81966_Reg(unsignedcharREG)
{
unsignedcharResult;
Unlock_F81966();
outportb(F81966_INDEX_PORT, REG);
Result =inportb(F81966_DATA_PORT);
Lock_F81966();
returnResult;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//---------------------------------------------------------------------------
#ifndef F81966_H
#define F81966_H
1
//---------------------------------------------------------------------------
#define
F81966_INDEX_PORT
(F81966_BASE)
#define
F81966_DATA_PORT
(F8191)
//---------------------------------------------------------------------------
#define
F81966_REG_LD
0x07
//---------------------------------------------------------------------------
#define
F81966_UNLOCK
0x87
#define
F81966_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_F81966(void);
void Set_F81966_LD( unsigned char);
void Set_F81966_Reg( unsigned char,
unsigned char); unsigned char
Get_F81966_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81966_H
Summary of Contents for MT800M-AIC
Page 8: ......
Page 14: ...6 MT800M AIC User s Manual 1 6 Block Diagram ...
Page 15: ...General Information MT800M AIC User s Manual 7 1 1 7 Board View Top View Bottom View ...
Page 17: ...General Information MT800M AIC User s Manual 9 1 1 8 Dimensions ...
Page 18: ...10 MT800M AIC User s Manual This page is intentionally left blank ...
Page 22: ...14 MT800M AIC User s Manual 2 3 Jumpers Connectors on MT800M AIC ...
Page 52: ...44 MT800M AIC User s Manual Output Select Selects the display output interface ...