78
CSB200-898 User Manual
3.
Sample Code: The file 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);
}
//---------------------------------------------------------------------------
Содержание CSB200-898
Страница 1: ...CSB200 898 Slim Compact SBC System User s Manual Version 1 0b Feb 2019 ...
Страница 16: ...8 CSB200 898 User Manual 1 7 Dimensions Unit mm ...
Страница 31: ...Hardware Configuration CSB200 898 User Manual 23 2 IB898 bottom Intel Atom E3825 Dual Core ...
Страница 36: ...28 CSB200 898 User Manual 2 5 1 USB 2 0 Port CN4 2 5 2 USB 3 0 Port CN1 2 5 3 LAN Port GbE CN3 ...
Страница 37: ...Hardware Configuration CSB200 898 User Manual 29 2 2 5 4 Display Port CN5 2 5 5 VGA Port CN6 ...
Страница 58: ...50 CSB200 898 User Manual 4 4 2 iSMART Controller ...
Страница 68: ...60 CSB200 898 User Manual 4 5 Chipset Settings 4 5 1 North Bridge ...