APPENDIX
56 IB868 User’s 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.
//
//===========================================================================
#ifndef __W627EHF_H
#define __W627EHF_H 1
//===========================================================================
#define W627EHF_INDEX_PORT (W627EHF_BASE)
#define W627EHF_DATA_PORT (W627EHF_BASE+1)
//===========================================================================
#define W627EHF_REG_LD 0x07
//===========================================================================
#define W627EHF_UNLOCK 0x87
#define W627EHF_LOCK 0xAA
//===========================================================================
unsigned int Init_W627EHF(void);
void Set_W627EHF_LD( unsigned char);
void Set_W627EHF_Reg( unsigned char, unsigned char);
unsigned char Get_W627EHF_Reg( unsigned char);
//===========================================================================
#endif //__W627EHF_H