![background image](http://html1.mh-extra.com/html/ibase-technology/se-603-n/se-603-n_user-manual_4468203072.webp)
66
SE-603-N User Manual
void Set_ F81804_LD( unsigned char LD)
{
Unlock_ F81804();
outportb( F81804_INDEX_PORT, F81804_REG_LD);
outportb( F81804_DATA_PORT, LD);
Lock_ F81804();
}
//---------------------------------------------------------------------------
void Set_ F81804_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_ F81804();
outportb( F81804_INDEX_PORT, REG);
outportb( F81804_DATA_PORT, DATA);
Lock_ F81804();
}
//---------------------------------------------------------------------------
unsigned char Get_ F81804_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_ F81804();
outportb( F81804_INDEX_PORT, REG);
Result = inportb( F81804_DATA_PORT);
Lock_ F81804();
return Result;
}
//---------------------------------------------------------------------------