Winmate IA71 User Manual page 99

Mini-itx fan sbc with intel atom n270 1.6ghz processor, vga, lcd, giga ethernet, mini-pci, pci and pcmcia slot interface
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 REG)
{
unsigned char Result;
Unlock_W83627();
outportb(W83627_INDEX_PORT, REG);
Result = inportb(W83627_DATA_PORT);
Lock_W83627();
return Result;
}
//============================================================
IA71 Motherboard User Manual V1.0
89

Advertisement

Table of Contents
loading

Table of Contents