
ID70 Motherboard User Manual
69
Note1: Digital I/O Sample Code
//==========================================================
//File of the D_F81865.C
//==========================================================
//This Sample code is for ID70 DIDO configuration
//==========================================================
#include <dos.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
//==========================================================
#define F81865_INDEX_PORT 0x4E
#define F81865_DATA_PORT 0x4F
#define F81865_UNLOCK 0x87
#define F81865_LOCK 0xAA
#define F81865_GPIO0_IN_OUT 0xF0
//0:input, 1:output
#define F81865_GPIO0_OUT 0xF1
//0:low, 1:high
#define F81865_GPIO0_IN 0xF2
//read only
#if 1 //for DIDO GPIO7(GPIO10) control
#define F81865_GPIO1_IN_OUT 0xE0
//0:input, 1:output
#define F81865_GPIO1_OUT 0xE1
//0:low, 1:high
#define F81865_GPIO1_IN 0xE2
//read only
#endif
#define OUTPUT_MASK 0x0F
#define INPUT_MASK (~OUTPUT_MASK)
//==========================================================
void Unlock_F81865(void);
void Lock_F81865(void);
void Set_F81865_Reg(unsigned char,unsigned char);
unsigned char Get_F81865_Reg( unsigned char REG);
//==========================================================
void ClrKbBuf(void);
void DIDO_Init_Reg(void);
Summary of Contents for ID70
Page 13: ...ID70 Motherboard User Manual 5 Board dimensions ...
Page 18: ...ID70 Motherboard User Manual 10 BOTTOM ...
Page 21: ...ID70 Motherboard User Manual 13 2 4 8 JP8 Brightness Control VR Software ...
Page 61: ...ID70 Motherboard User Manual 53 Intel Fast Flash Standy iFFS Support Enable or disable iFFS ...