Appendix
AMI230 / AMI231 / AMI232 User Manual
77
//---------------------------------------------------------------------------
//
// 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.
//
//---------------------------------------------------------------------------
#include "F81866.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81866_BASE; void Unlock_F81866 (void); void Lock_F81866 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81866(void)
{
unsigned int result;
unsigned char ucDid;
F81866_BASE = 0x4E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish; }
F81866_BASE = 0x2E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish; }
F81866_BASE = 0x00;
result = F81866_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81866_LD( unsigned char LD)
{
Unlock_F81866();
Summary of Contents for AMI230
Page 1: ...AMI230 AMI231 AMI232 High Performance Fanless System User s Manual Version 1 0 April 2020...
Page 8: ......
Page 26: ...18 AMI230 AMI231 AMI232 User Manual 1 11 Dimensions AMI230 Unit mm...
Page 27: ...Hardware Configuration AMI230 AMI231 AMI232 User Manual 19 2...
Page 28: ...20 AMI230 AMI231 AMI232 User Manual 1 12 Dimensions AMI231 Unit mm...
Page 29: ...Hardware Configuration AMI230 AMI231 AMI232 User Manual 21 2 1 13 Dimensions AMI232 Unit mm...
Page 30: ...22 AMI230 AMI231 AMI232 User Manual This page is intentionally left blank...
Page 52: ...44 AMI230 AMI231 AMI232 User Manual This page is intentionally left blank...