IBASE Technology SI-624-AI User Manual page 69

Extreme performance digital signage player
Table of Contents

Advertisement

//---------------------------------------------------------------------------
//
// 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 "F81966.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81966_BASE;
void Unlock_F81966 (void);
void Lock_F81966 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81966(void)
{
unsigned int result;
unsigned char ucDid;
F81966_BASE = 0x4E;
result = F81966_BASE;
ucDid = Get_F81966_Reg(0x20);
if (ucDid == 0x07)
{ goto
Init_Finish;
F81966_BASE = 0x2E;
result = F81966_BASE;
ucDid = Get_F81966_Reg(0x20);
if (ucDid == 0x07)
{ goto
Init_Finish;
F81966_BASE = 0x00;
result = F81966_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81966 (void)
{
outportb(F81966_INDEX_PORT, F81966_UNLOCK);
outportb(F81966_INDEX_PORT, F81966_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81966 (void)
{
outportb(F81966_INDEX_PORT, F81966_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81966_LD( unsigned char LD)
SI-624-AI User Manual
//Fintek 81966
}
//Fintek 81966
}
Appendix
69

Advertisement

Table of Contents
loading

Table of Contents