INSTALLATIONS
MB966 User’s Manual
23
ucBuf = Get_W627DHG_Reg(0x30);
ucBuf |= 0x01;
Set_W627DHG_Reg(0x30, ucBuf);
}
//---------------------------------------------------------------------------
void Dio2SetOutput(unsigned char)
{
Set_W627DHG_LD(0x09);
//switch to logic device 9
Set_W627DHG_Reg(0xE4, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio2GetInput(void)
{
unsigned char result;
Set_W627DHG_LD(0x09);
//switch to logic device 9
result = Get_W627DHG_Reg(0xE4);
return (result);
}
//---------------------------------------------------------------------------
void Dio2SetDirection(unsigned char)
{
//NewData : 1 for input, 0 for output
Set_W627DHG_LD(0x09);
//switch to logic device 9
Set_W627DHG_Reg(0xE3, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio2GetDirection(void)
{
unsigned char result;
Set_W627DHG_LD(0x09);
//switch to logic device 9
result = Get_W627DHG_Reg(0xE0);
return (result);
}
//---------------------------------------------------------------------------
void Dio3Initial(void)
{
unsigned char ucBuf;
//switch GPIO multi-function pin
ucBuf = Get_W627DHG_Reg(0x2C);
ucBuf &= 0x1F;
Set_W627DHG_Reg(0x2C, ucBuf);
//clear
Set_W627DHG_LD(0x09);
//switch to logic device 9
//enable the GP3 group
ucBuf = Get_W627DHG_Reg(0x30);
ucBuf |= 0x02;
Set_W627DHG_Reg(0x30, ucBuf);
//input detect type
Set_W627DHG_Reg(0xFE, 0xFF);
}
//---------------------------------------------------------------------------
void Dio3SetOutput(unsigned char NewData)
{
Set_W627DHG_LD(0x09);
//switch to logic device 9
Set_W627DHG_Reg(0xF1, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio3GetInput(void)
{
unsigned char result;
Set_W627DHG_LD(0x09);
//switch to logic device 9
result = Get_W627DHG_Reg(0xF1);
return (result);
}
//---------------------------------------------------------------------------
void Dio3SetDirection(unsigned char NewData)
{
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 ...