76
IPPC1505/1705/1905-RE User Manual
#include "F81866.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81866_BASE;
void Unlock_F81866 (void);
void Lock_F81866 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81866(void)
{
unsigned int result;
unsigned char ucDid;
F81866_BASE = 0x4E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish;
}
F81866_BASE = 0x2E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish;
}
F81866_BASE = 0x00;
result = F81866_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81866_LD( unsigned char LD)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, F81866_REG_LD);
outportb(F81866_DATA_PORT, LD);
Lock_F81866();
}
//---------------------------------------------------------------------------
void Set_F81866_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
outportb(F81866_DATA_PORT, DATA);
Lock_F81866();
}
//---------------------------------------------------------------------------
Содержание IPPC1505-RE
Страница 1: ...IPPC1505 RE IPPC1705 RE IPPC1905 RE Expandable Panel PC User s Manual Version 1 0 Mar 2019 ...
Страница 15: ...6 IPPC1505 1705 1905 RE User Manual 1 5 Overview Front View with a USB 2 0 Port Oblique View ...
Страница 17: ...8 IPPC1505 1705 1905 RE User Manual 1 6 Dimensions Unit mm IPPC1505 RE ...
Страница 18: ...General Information IPPC1505 1705 1905 RE User Manual 9 1 Unit mm IPPC1705 RE ...
Страница 19: ...10 IPPC1505 1705 1905 RE User Manual Unit mm IPPC1905 RE ...
Страница 26: ...Hardware Configuration IPPC1505 1705 1905 RE User Manual 17 2 2 4 Jumper Connector Locations Motherboard MI992 ...