INSTALLATIONS
MB966 User’s Manual
25
void Set_W627DHG_LD( unsigned char LD)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, W627DHG_REG_LD);
outportb(W627DHG_DATA_PORT, LD);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
void Set_W627DHG_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, REG);
outportb(W627DHG_DATA_PORT, DATA);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
unsigned char Get_W627DHG_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, REG);
Result = inportb(W627DHG_DATA_PORT);
Lock_W627DHG();
return Result;
}
//---------------------------------------------------------------------------
Filename
:
W627DHG.h
//---------------------------------------------------------------------------
//
// 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 __W627DHG_H
#define __W627DHG_H
1
//---------------------------------------------------------------------------
#define W627DHG_INDEX_PORT
(W627DHG_BASE)
#define W627DHG_DATA_PORT
(W627D1)
//---------------------------------------------------------------------------
#define W627DHG_REG_LD
0x07
//---------------------------------------------------------------------------
#define W627DHG_UNLOCK
0x87
#define W627DHG_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_W627DHG(void);
void Set_W627DHG_LD( unsigned char);
void Set_W627DHG_Reg( unsigned char, unsigned char);
unsigned char Get_W627DHG_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif //__W627DHG_H
Summary of Contents for MB966
Page 1: ...MB966 Intel Xeon Core i3 i5 i7 Motherboard USER S MANUAL Version 1 3 ...
Page 5: ...MB966 User s Manual v This page is intentionally left blank ...
Page 6: ......
Page 11: ...INTRODUCTION MB966 User s Manual 5 Board Dimensions ...
Page 12: ...INTRODUCTION 6 MB966 User s Manual This page is intentionally left blank ...
Page 21: ...INSTALLATIONS MB966 User s Manual 15 Connector Locations on MB966 ...
Page 58: ...BIOS SETUP 52 MB966 User s Manual This page is intentionally left blank aa ...