![background image](http://html1.mh-extra.com/html/ibase-technology/mi836f/mi836f_user-manual_3326690080.webp)
72
MI836F User’s Manual
//---------------------------------------------------------------------------
void Set_F81866_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
outportb(F81866_DATA_PORT, DATA);
Lock_F81866();
}
//---------------------------------------------------------------------------
unsigned char Get_F81866_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
Result = inportb(F81866_DATA_PORT);
Lock_F81866();
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 F81866_H
#define F81866_H
1
//---------------------------------------------------------------------------
#define
F81866_INDEX_PORT
(F81866_BASE)
#define
F81866_DATA_PORT
(F8181)
//---------------------------------------------------------------------------
#define
F81866_REG_LD
0x07
//---------------------------------------------------------------------------
#define
F81866_UNLOCK
0x87
#define
F81866_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_F81866(void);
void Set_F81866_LD( unsigned char);
void Set_F81866_Reg( unsigned char,
unsigned char); unsigned char
Get_F81866_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81866_H
Summary of Contents for MI836F
Page 8: ......
Page 14: ...6 MI836F User s Manual 1 6 Block Diagram ...
Page 15: ...General Information MI836F User s Manual 7 1 1 7 Product View Top View ...
Page 16: ...8 MI836F User s Manual Bottom View ...
Page 18: ...10 MI836F User s Manual 1 8 Dimensions ...
Page 22: ...14 MI836F User s Manual 2 2 Jumper Connector Locations MI836F ...
Page 42: ...34 MI836F User s Manual This page is intentionally left blank ...