74
MB997
User’s Manual
{
goto Init_Finish;
}
NCT6686D_BASE = 0x00;
result = NCT6686D_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_NCT6686D (void)
{
outportb(NCT6686D_INDEX_PORT, NCT6686D_UNLOCK);
outportb(NCT6686D_INDEX_PORT, NCT6686D_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_NCT6686D (void)
{
outportb(NCT6686D_INDEX_PORT, NCT6686D_LOCK);
}
//---------------------------------------------------------------------------
void Set_NCT6686D_LD( unsigned char LD)
{
Unlock_NCT6686D();
outportb(NCT6686D_INDEX_PORT, NCT6686D_REG_LD);
outportb(NCT6686D_DATA_PORT, LD);
Lock_NCT6686D();
}
//---------------------------------------------------------------------------
void Set_NCT6686D_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_NCT6686D();
outportb(NCT6686D_INDEX_PORT, REG);
outportb(NCT6686D_DATA_PORT, DATA);
Lock_NCT6686D();
}
//---------------------------------------------------------------------------
unsigned char Get_NCT6686D_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_NCT6686D();
outportb(NCT6686D_INDEX_PORT, REG);
Result = inportb(NCT6686D_DATA_PORT);
Lock_NCT6686D();
return Result;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// 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.
//
//---------------------------------------------------------------------------
Summary of Contents for MB997
Page 8: ...viii MB997 User s Manual This page is intentionally left blank ...
Page 14: ...6 MB997 User s Manual 1 6 Block Diagram ...
Page 17: ...General Information MB997 User s Manual 9 1 1 8 Dimensions ...
Page 18: ...10 MB997 User s Manual This page is intentionally left blank ...
Page 22: ...14 MB997 User s Manual 2 3 Jumper Connector Locations on MB997 ...
Page 64: ...56 MB997 User s Manual CDROM Drives with no media will be emulated according to a drive type ...
Page 72: ...64 MB997 User s Manual ...