![background image](http://html1.mh-extra.com/html/ibase-technology/si-60e-6h/si-60e-6h_user-manual_3239064093.webp)
86
SI-60E-6H User Manual
//---------------------------------------------------------------------------
void Set_F81846_LD( unsigned char LD)
{
Unlock_F81846();
outportb(F81846_INDEX_PORT, F81846_REG_LD);
outportb(F81846_DATA_PORT, LD);
Lock_F81846();
}
//---------------------------------------------------------------------------
void Set_F81846_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81846();
outportb(F81846_INDEX_PORT, REG);
outportb(F81846_DATA_PORT, DATA);
Lock_F81846();
}
//---------------------------------------------------------------------------
unsigned char Get_F81846_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_F81846();
outportb(F81846_INDEX_PORT, REG);
Result = inportb(F81846_DATA_PORT);
Lock_F81846();
return Result;
}
//---------------------------------------------------------------------------