60
CSB200-818 User Manual
void Set_F81964_LD( unsigned char LD)
{
Unlock_F81964();
outportb(F81964_INDEX_PORT, F81964_REG_LD);
outportb(F81964_DATA_PORT, LD);
Lock_F81964();
}
//---------------------------------------------------------------------------
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
1
//---------------------------------------------------------------------------
#define
F81964_INDEX_PORT
(F81964_BASE)
#define
F81964_DATA_PORT
(F8191)
//---------------------------------------------------------------------------
#define
F81964_REG_LD
0x07
//---------------------------------------------------------------------------
#define
F81964_UNLOCK
0x87
#define
F81964_LOCK 0xAA
//---------------------------------------------------------------------------
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
Содержание CSB200-818
Страница 1: ...CSB200 818 Slim Fanless SBC System User s Manual Version 1 0a Feb 2019 ...
Страница 15: ...General Information CSB200 818 User Manual 7 1 Oblique View 1 7 Dimensions Unit mm ...
Страница 22: ...14 CSB200 818 User Manual 2 4 Jumper Connector Locations on Motherboard Motherboard IB818F ...