IBASE SI-38 User Manual

Page 48

Advertising
background image

48


}

F81865_BASE = 0x2E;
result = 6106_BASE;

ucDid = Get_6106_Reg(0x20);
if (ucDid == 0x07)


//Fintek 81865

{
goto Init_Finish;
}


F81865_BASE = 0x00;

result = 6106_BASE;

Init_Finish:

return (result);
}
//---------------------------------------------------------------------------
void Unlock_6106 (void)
{

outportb(6106_INDEX_PORT, 6106_UNLOCK);

outportb(6106_INDEX_PORT, 6106_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_6106 (void)
{

outportb(6106_INDEX_PORT, 6106_LOCK);

Advertising