Appendix
ET870 Series
User’s 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 "F81804.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81804_BASE;
void Unlock_F81804 (void);
void Lock_F81804 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81804(void)
{
unsigned int result;
unsigned char ucDid;
F81804_BASE = 0x4E;
result = F81804_BASE;
ucDid = Get_F81804_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81804
{
goto Init_Finish;
}
F81804_BASE = 0x2E;
result = F81804_BASE;
ucDid = Get_F81804_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81804
{
goto Init_Finish;
}
F81804_BASE = 0x00;
result = F81804_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81804 (void)
{
outportb(F81804_INDEX_PORT, F81804_UNLOCK);
outportb(F81804_INDEX_PORT, F81804_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81804 (void)
{
outportb(F81804_INDEX_PORT, F81804_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81804_LD( unsigned char LD)
{
Unlock_F81804();
outportb(F81804_INDEX_PORT, F81804_REG_LD);
outportb(F81804_DATA_PORT, LD);
Lock_F81804();
Содержание ET870 Series
Страница 1: ...ET870 Series COM Express Type 6 Module With Intel Atom x7 x5 User s Manual Version 1 0 Jan 2019...
Страница 8: ...viii ET870 Series User s Manual This page is intentionally left blank...
Страница 13: ...General Information ET870 Series User s Manual 5 1 1 6 Block Diagram...
Страница 15: ...General Information ET870 Series User s Manual 7 1 1 8 Dimensions Unit mm...
Страница 16: ...8 ET870 Series User s Manual This page is intentionally left blank...
Страница 19: ...Hardware Configuration ET870 Series User s Manual 11 2 2 2 Connector Location SOM1 SOM2 Board diagram of ET870...
Страница 24: ...16 ET870 Series User s Manual This page is intentionally left blank...
Страница 38: ...30 ET870 Series User s Manual This page is intentionally left blank...
Страница 53: ...BIOS Setup ET870 Series User s Manual 45 4 4 5 Chipset Settings...