70
MI999AF User’s Manual
}
//---------------------------------------------------------------------------
void Set_F81964_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81964();
outportb(F81964_INDEX_PORT, REG);
outportb(F81964_DATA_PORT, DATA);
Lock_F81964();
}
//---------------------------------------------------------------------------
unsigned char Get_F81964_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_F81964();
outportb(F81964_INDEX_PORT, REG);
Result = inportb(F81964_DATA_PORT);
Lock_F81964();
return Result;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// 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 F81964_H
#define F81964_H
1
//---------------------------------------------------------------------------
#define
F81964_INDEX_PORT
(F81964_BASE)
#define
F81964_DATA_PORT
(F8191)
//---------------------------------------------------------------------------
#define
F81964_REG_LD
0x07
//---------------------------------------------------------------------------
#define
F81964_UNLOCK
0x87
#define
F81964_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_F81866(void);
void Set_F81964_LD( unsigned char);
void Set_F81964_Reg( unsigned char,
unsigned char); unsigned char
Get_F81964_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81964_H
Summary of Contents for MI999
Page 8: ......
Page 14: ...6 MI999 User s Manual 1 6 Block Diagram...
Page 17: ...General Information MI999 User s Manual 9 1 1 8 Dimensions...
Page 18: ...10 MI999 User s Manual This page is intentionally left blank...
Page 22: ...14 MI999 User s Manual 2 3 Jumper Connector Locations on MI999...
Page 48: ...40 MI999 User s Manual This page is intentionally left blank...