Appendix
CSB200-818 User Manual
59
//---------------------------------------------------------------------------
//
// 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 "F81964.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81964_BASE;
void Unlock_F81964 (void);
void Lock_F81964 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81964(void)
{
unsigned int result;
unsigned char ucDid;
F81964_BASE = 0x4E;
result = F81964_BASE;
ucDid = Get_F81964_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81964
{
goto Init_Finish;
}
F81964_BASE = 0x2E;
result = F81964_BASE;
ucDid = Get_F81964_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81964
{
goto Init_Finish;
}
F81964_BASE = 0x00;
result = F81964_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81964 (void)
{
outportb(F81964_INDEX_PORT, F81964_UNLOCK);
outportb(F81964_INDEX_PORT, F81964_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81964 (void)
{
outportb(F81964_INDEX_PORT, F81964_LOCK);
}
//---------------------------------------------------------------------------
Содержание CSB200-818
Страница 1: ...CSB200 818 Slim Fanless SBC System User s Manual Version 1 0a Feb 2019 ...
Страница 15: ...General Information CSB200 818 User Manual 7 1 Oblique View 1 7 Dimensions Unit mm ...
Страница 22: ...14 CSB200 818 User Manual 2 4 Jumper Connector Locations on Motherboard Motherboard IB818F ...