![background image](http://html1.mh-extra.com/html/ibase-technology/et880-series/et880-series_user-manual_4468137064.webp)
56
ET880 Series
User’s Manual
//---------------------------------------------------------------------------
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;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//
// 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.
//
//---------------------------------------------------------------------------
#ifndef F81804_H
#define F81804_H
1
//---------------------------------------------------------------------------
#define
F81804_INDEX_PORT
(F81804_BASE)
#define
F81804_DATA_PORT
(F8181)
//---------------------------------------------------------------------------
#define
F81804_REG_LD
0x07
//---------------------------------------------------------------------------
#define
F81804_UNLOCK
0x87
#define
F81804_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_F81804(void);
void Set_F81804_LD( unsigned char);
void Set_F81804_Reg( unsigned char,
unsigned char); unsigned char
Get_F81804_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81804_H
Summary of Contents for ET880 Series
Page 8: ...viii ET880 Series User s Manual This page is intentionally left blank...
Page 13: ...General Information ET880 Series User s Manual 5 1 1 6 Block Diagram...
Page 15: ...General Information ET880 Series User s Manual 7 1 1 8 Dimensions Unit mm...
Page 16: ...8 ET880 Series User s Manual This page is intentionally left blank...
Page 24: ...16 ET880 Series User s Manual This page is intentionally left blank...
Page 36: ...28 ET880 Series User s Manual This page is intentionally left blank...