Appendix
IB811LF Series User’s Manual
83
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);
}
//---------------------------------------------------------------------------
void Set_F81964_LD( unsigned char LD)
{
Unlock_F81964();
outportb(F81964_INDEX_PORT, F81964_REG_LD);
outportb(F81964_DATA_PORT, LD);
Lock_F81964();
}
//---------------------------------------------------------------------------
void Set_F81964_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81964();
outportb(F81964_INDEX_PORT, REG);
outportb(F81964_DATA_PORT, DATA);
Lock_F81964();
}
//---------------------------------------------------------------------------
unsigned char Get_F81964_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_F81964();
outportb(F81964_INDEX_PORT, REG);
Result = inportb(F81964_DATA_PORT);
Lock_F81964();
return Result;
}
//---------------------------------------------------------------------------
Содержание IB811LF Series
Страница 6: ......
Страница 16: ...10 IB811LF Series User s Manual 1 6 Block Diagram...
Страница 19: ...General Information IB811LF Series User s Manual 13 1 1 8 Dimensions...
Страница 23: ...Hardware Configuration IB811F Series User s Manual 17 2 2 3 Jumper Connector Locations...
Страница 70: ...64 IB811LF Series User s Manual 4 5 Chipset Settings 4 5 1 South Cluster Configuration...