Winmate IA70 User Manual page 90

Hide thumbs Also See for IA70:
Table of Contents

Advertisement

Set_W83627_Reg(0xF6,0); //Disable Watchdog timer
return 0;
}
//---------------------------------------------------------------------------
void Unlock_W83627 (void)
{
outportb(W83627_INDEX_PORT, W83627_UNLOCK);
outportb(W83627_INDEX_PORT, W83627_UNLOCK);
}
//============================================================
void Lock_W83627 (void)
{
outportb(W83627_INDEX_PORT, W83627_LOCK);
}
//============================================================
void Set_W83627_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W83627();
outportb(W83627_INDEX_PORT, REG);
outportb(W83627_DATA_PORT, DATA);
Lock_W83627();
}
//============================================================
unsigned char Get_W83627_Reg( unsigned char RE G)
{
unsigned char Result;
Unlock_W83627();
outportb(W83627_INDEX_PORT, REG);
Result = inportb(W83627_DATA_PORT);
Lock_W83627();
return Result;
}
//============================================================
IA70 Motherboard User Manual
81

Advertisement

Table of Contents
loading

Table of Contents