IBASE IPPC1501-RE User Manual
Page 67
![background image](https://www.manualsdir.com/files/790444/content/doc067.png)
Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
59
IBASE Technology Inc.
return Result;
}
//---------------------------------------------------------------------------
File of the W627UHG.H
//---------------------------------------------------------------------------
//
// 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 __W627UHG_H
#define __W627UHG_H
1
//---------------------------------------------------------------------------
#define W627UHG_INDEX_PORT
(W627UHG_BASE)
#define W627UHG_DATA_PORT
(W627UHG_BASE+1)
//---------------------------------------------------------------------------
#define W627UHG_REG_LD
0x07
//---------------------------------------------------------------------------
#define W627UHG_UNLOCK
0x87
#define W627UHG_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_W627UHG(void);
void Set_W627UHG_LD( unsigned char);
void Set_W627UHG_Reg( unsigned char, unsigned char);
unsigned char Get_W627UHG_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif //__W627UHG_H