IBASE Technology MI997AF User Manual page 96

Intel 12th gen core i7/i5/i3 / celeron mini-itx motherboard
Table of Contents

Advertisement

//---------------------------------------------------------------------------
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.
//
//---------------------------------------------------------------------------
#ifndef
F81964_H
#define
F81964_H
//---------------------------------------------------------------------------
#define
F81964_INDEX_PORT
#define
F81964_DATA_PORT
//---------------------------------------------------------------------------
#define
F81964_REG_LD
//---------------------------------------------------------------------------
#define
F81964_UNLOCK
#define
F81964_LOCK
//---------------------------------------------------------------------------
unsigned int Init_F81964(void);
void Set_F81964_LD( unsigned char);
void Set_F81964_Reg( unsigned char,
unsigned char); unsigned char
Get_F81964_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81964_H
86
1
(F81964_BASE)
(F81964_BASE+1)
0x07
0x87
0xAA
MI997AF User's Manual

Advertisement

Table of Contents
loading

Table of Contents