IBASE Technology ASB200-918 Series User Manual page 67

Fanless system with 3.5" disk-size sbc system
Table of Contents

Advertisement

2. DIO Sample Code: The file F81846.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 __F81846_H
#define __F81846_H
//======================================================================
#define
F81846_INDEX_PORT
#define
F81846_DATA_PORT
//======================================================================
#define
F81846_REG_LD
//======================================================================
#define F81846_UNLOCK
#define
F81846_LOCK
//======================================================================
unsigned int Init_F81846(void);
void Set_F81846_LD( unsigned char);
void Set_F81846_Reg( unsigned char, unsigned char);
unsigned char Get_F81846_Reg( unsigned char);
//======================================================================
#endif
//__F81846_H
ASB200-918 User Manual
1
(F81846_BASE)
(F81846_BASE+1)
0x07
0x87
0xAA
Appendix
59

Advertisement

Table of Contents
loading

Table of Contents