66
SI-626 User Manual
//---------------------------------------------------------------------------
//
// 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 "F81846.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81846_BASE; void Unlock_F81846 (void); void Lock_F81846 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81846(void)
{
unsigned int result; unsigned char ucDid;
F81846_BASE = 0x4E;
result = F81846_BASE;
ucDid = Get_F81846_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81846
{
goto Init_Finish; }
F81846_BASE = 0x2E;
result = F81846_BASE;
ucDid = Get_F81846_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81846
{
goto Init_Finish; }
F81846_BASE = 0x00;
result = F81846_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81846 (void)
{
outportb(F81846_INDEX_PORT, F81846_UNLOCK); outportb(F81846_INDEX_PORT,
F81846_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81846 (void)
{
outportb(F81846_INDEX_PORT, F81846_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81846_LD( unsigned char LD)
{
Unlock_F81846();
outportb(F81846_INDEX_PORT, F81846_REG_LD);
outportb(F81846_DATA_PORT, LD); Lock_F81846();
Содержание SI-626
Страница 1: ...SI 626 Digital Signage Player User s Manual Version 1 1 Nov 2018...
Страница 14: ...General Information SI 626 User Manual 7 1 1 7 Dimensions Unit mm...
Страница 23: ...16 SI 626 User Manual 2 3 Jumper Connector Locations on Motherboard Motherboard MBD626...
Страница 48: ...BIOS Setup SI 626 User Manual 41 4 4 4 10 NVMe Configuration...