
APPENDIX
58
MI987 User’s Manual
File of the NCT5523D.CPP
//---------------------------------------------------------------------------
// 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.
//---------------------------------------------------------------------------
#include "NCT5523D.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int NCT5523D_BASE;
void Unlock_NCT5523D (void);
void Lock_NCT5523D (void);
//---------------------------------------------------------------------------
unsigned int Init_NCT5523D(void)
{
unsigned int result;
unsigned char ucDid;
NCT5523D_BASE = 0x4E;
result = NCT5523D_BASE;
ucDid = Get_NCT5523D_Reg(0x20);
if (ucDid == 0xC4)
//NCT5523D??
{
goto Init_Finish;
}
NCT5523D_BASE = 0x2E;
result = NCT5523D_BASE;
ucDid = Get_NCT5523D_Reg(0x20);
if (ucDid == 0xC4)
//NCT5523D??
{
goto Init_Finish;
}
NCT5523D_BASE = 0x00;
result = NCT5523D_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_NCT5523D (void)
{
outportb(NCT5523D_INDEX_PORT, NCT5523D_UNLOCK);
outportb(NCT5523D_INDEX_PORT, NCT5523D_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_NCT5523D (void)
{
outportb(NCT5523D_INDEX_PORT, NCT5523D_LOCK);
}
//---------------------------------------------------------------------------
Summary of Contents for MI987
Page 1: ...MI987 Intel Q87 H81 Based Mini ITX board Mini ITX Motherboard USER S MANUAL Version 1 0 ...
Page 4: ...iv MI987 User s Manual This page is intentionally left blank ...
Page 9: ...INSTALLATIONS MI987 User s Manual 5 Connectors on MI987 錯誤 尚未定義書籤 ...
Page 12: ...INSTALLATIONS 8 MI987 User s Manual Jumper Locations on MI987 Jumpers on MI987 Page ...
Page 17: ...INSTALLATIONS MI987 User s Manual 13 Connector Locations on MI987 ...
Page 26: ...INSTALLATIONS 22 MI987 User s Manual This page is intentionally left blank ...
Page 56: ...DRIVER INSTALLATION 52 MI987 User s Manual This page is intentionally set blank ...