
Appendix
FWA8506 User Manual
61
3. WDT 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);
}
//---------------------------------------------------------------------------
Содержание FWA8506
Страница 1: ...FWA8506 1U Rackmount Enterprise Network Appliance User s Manual Version 1 0 Dec 2017...
Страница 15: ...8 FWA8506 User Manual 1 7 Dimensions Unit mm...
Страница 23: ...16 FWA8506 User Manual 2 3 Jumper Connector Locations on Motherboard Motherboard MBN802...
Страница 27: ...20 FWA8506 User Manual 2 4 4 AT ATX Mode Selection JP6 Function Pin closed Setting AT default 1 2 ATX 2 3 1 1 1...
Страница 48: ...BIOS Setup FWA8506 User Manual 41 4 3 5 Intel RC Setup...