![background image](http://html1.mh-extra.com/html/ibase-technology/ib905/ib905_user-manual_3253949062.webp)
APPENDIX
58
IB905 User’s Manual
//===========================================================================
//
// 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.
//
//===========================================================================
#include "W627DHG.H"
#include <dos.h>
//===========================================================================
unsigned int W627DHG_BASE;
void Unlock_W627DHG (void);
void Lock_W627DHG (void);
//===========================================================================
unsigned int Init_W627DHG(void)
{
unsigned int result;
unsigned char ucDid;
W627DHG_BASE = 0x2E;
result = W627DHG_BASE;
ucDid = Get_W627DHG_Reg(0x20);
if (ucDid == 0x88)
{
goto Init_Finish;
}
W627DHG_BASE = 0x4E;
result = W627DHG_BASE;
ucDid = Get_W627DHG_Reg(0x20);
if (ucDid == 0x88)
{
goto Init_Finish;
}
W627DHG_BASE = 0x00;
result = W627DHG_BASE;
Init_Finish:
return (result);
}
//===========================================================================
void Unlock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT, W627DHG_UNLOCK);
outportb(W627DHG_INDEX_PORT, W627DHG_UNLOCK);
}
//===========================================================================
void Lock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT, W627DHG_LOCK);
}
//===========================================================================
void Set_W627DHG_LD( unsigned char LD)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, W627DHG_REG_LD);
outportb(W627DHG_DATA_PORT, LD);
Lock_W627DHG();
}
Summary of Contents for IB905
Page 1: ...IB905 Intel Sandy Bridge PCH 3 5 inch Embedded Board USER S MANUAL Version 1 1...
Page 4: ...iv IB905 User s Manual This page is intentionally left blank...
Page 9: ...INTRODUCTION IB905 User s Manual 5 Board Dimensions...
Page 18: ...INSTALLATIONS 14 IB905 User s Manual...
Page 21: ...INSTALLATIONS IB905 User s Manual 17 Not used 20 19 Ground...
Page 57: ...DRIVERS INSTALLATION IB905 User s Manual 53 This page is intentionally left blank...