Appendix
ET876 Series
User’s Manual
55
// 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();
}
Содержание ET876 Series
Страница 1: ...ET876 Series COM Express Type 10 Module With Intel Atom x7 x5 SoC User s Manual Version 1 0 June 2020...
Страница 7: ...ET876 Series User s Manual vii This page is intentionally left blank...
Страница 8: ......
Страница 13: ...General Information ET876 Series User s Manual 5 1 1 6 Block Diagram...
Страница 18: ...10 ET876 Series User s Manual This page is intentionally left blank...
Страница 28: ...20 ET876 Series User s Manual This page is intentionally left blank...
Страница 36: ...28 ET876 Series User s Manual...
Страница 37: ...BIOS Setup ET876 Series User s Manual 29 4...
Страница 40: ...32 ET876 Series User s Manual 4 4 5 2 Serial Port 2 Configuration...
Страница 46: ...38 ET876 Series User s Manual 4 5 Chipset Settings...