![background image](http://html1.mh-extra.com/html/ibase-technology/ofp-151-pc/ofp-151-pc_user-manual_3240978125.webp)
Appendix
OFP-151-PC/OFP-2100-PC/OFP2101-PC
115
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;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// 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.
//
Summary of Contents for OFP-151-PC
Page 1: ...OFP 151 PC OFP 2100 PC OFP 2101 PC Open Frame Panel PC User s Manual Version 1 0 January 2021...
Page 10: ......
Page 16: ...6 OFP Panel PC Series User Manual OFP 2100 PC Unit mm Dimensions 543 x 334 x 88 2...
Page 21: ...General Information OFP Panel PC Series User Manual 11 1 This page is intentionally left blank...