84
AMS300 / 301 / 302 User Manual
outportb(F81866_INDEX_PORT, F81866_REG_LD);
outportb(F81866_DATA_PORT, LD); Lock_F81866();
}
//---------------------------------------------------------------------------
void Set_F81866_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
outportb(F81866_DATA_PORT, DATA);
Lock_F81866();
}
//---------------------------------------------------------------------------
unsigned char Get_F81866_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
Result = inportb(F81866_DATA_PORT);
Lock_F81866();
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 F81866_H
#define F81866_H
1
//---------------------------------------------------------------------------
#define
F81866_INDEX_PORT
(F81866_BASE)
#define
F81866_DATA_PORT
(F8181)
//---------------------------------------------------------------------------
#define
F81866_REG_LD
0x07
//---------------------------------------------------------------------------
#define F81866_UNLOCK 0x87
#define
F81866_LOCK 0xAA
//---------------------------------------------------------------------------
unsigned int Init_F81866(void);
void Set_F81866_LD( unsigned char);
void Set_F81866_Reg( unsigned char, unsigned char); unsigned char
Get_F81866_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif // F81866_H
Содержание AMS300
Страница 1: ...AMS300 AMS301 AMS302 Compact Expandable Fanless System User s Manual Version 1 0 Oct 2017...
Страница 8: ...viii AMS300 301 302 User Manual B Interrupt Request Lines IRQ 79 C Watchdog Timer Configuration 81...
Страница 16: ...8 AMS300 301 302 User Manual Wall Mount DIN Rail Mount Side Mount...
Страница 18: ...10 AMS300 301 302 User Manual Wall Mount DIN Rail Mount Side Mount...
Страница 20: ...12 AMS300 301 302 User Manual Wall Mount DIN Rail Mount Side Mount...
Страница 21: ...General Information AMS300 301 302 User Manual 13 1 1 9 Dimensions AMS300 Unit mm...
Страница 22: ...14 AMS300 301 302 User Manual 1 10 Dimensions AMS301 Unit mm...
Страница 23: ...General Information AMS300 301 302 User Manual 15 1 1 11 Dimensions AMS302 Unit mm...