50
ET875 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
Содержание ET875 Series
Страница 8: ...viii ET875 Series User s Manual This page is intentionally left blank...
Страница 13: ...General Information ET875 Series User s Manual 5 1 1 6 Block Diagram...
Страница 18: ...10 ET875 Series User s Manual This page is intentionally left blank...
Страница 28: ...20 ET875 Series User s Manual This page is intentionally left blank...
Страница 42: ...34 ET875 Series User s Manual 4 5 Chipset Settings...