beautypg.com

Appendix 52, Mi802 user’s manual – IBASE MI802 User Manual

Page 56

background image

APPENDIX

52

MI802 User’s Manual


//---------------------------------------------------------------------------
#ifndef __F81866_H
#define __F81866_H

1

//---------------------------------------------------------------------------
#define

F81866_INDEX_PORT

(F81866_BASE)

#define

F81866_DATA_PORT

(F81866_BASE+1)

//---------------------------------------------------------------------------
#define

F81866_REG_LD

0x07

//---------------------------------------------------------------------------
#define F81866_UNLOCK

0x87

#define

F81866_LOCK

0xAA

//---------------------------------------------------------------------------
unsigned int Init_F81866(void);
void Set_F81866_LD( unsigned char);
void Set_F81866_Reg( unsigned char, unsigned char);
unsigned char Get_F81866_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif //__F81866_H