APPENDIX
76
IB965 User’s Manual
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 IB965F
Page 4: ...iv IB965 User s Manual This page is intentionally left blank ...
Page 9: ...INTRODUCTION IB965 User s Manual 5 Board Dimensions ...
Page 19: ...INSTALLATIONS IB965 User s Manual 15 Connector Locations on IB965F ...
Page 74: ...DRIVER INSTALLATION 70 IB965 User s Manual This page is intentionally left blank ...