Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

/opentcp/include/inet/arch/config.h File Reference


Detailed Description

Author:
Version:
1.0
Date:
20.9.2002
Various MCU and hardware-dependant configuration stuff is located here.

Definition in file config.h.

Go to the source code of this file.

Defines

#define MB90F553A
#define DDR_OUT   0xFF
#define DDR_IN   0x00
#define DATABUS   PDR1
#define DATADIR   DDR1
#define ADRBUS   PDR2
#define IOW   PDR2_P26
#define IOR   PDR2_P25
#define IOCHRDY   PDR0_P05
#define RESETPIN_NE2000   PDR2_P27


Define Documentation

#define MB90F553A
 

Define this for Fujitsu's MB90F553A MCU

Definition at line 67 of file config.h.

#define DDR_OUT   0xFF
 

Value for data direction register so that pins are configured as outputs

Definition at line 82 of file config.h.

Referenced by InitTransmission(), and outNE2000().

#define DDR_IN   0x00
 

Value for data direction register so that pins are configured as inputs

Definition at line 85 of file config.h.

Referenced by inNE2000(), and NE2000DMAInit_position().

#define DATABUS   PDR1
 

Port used as databus towards the Ethernet controller

Definition at line 91 of file config.h.

Referenced by inNE2000(), inNE2000again(), inNE2000againbuf(), outNE2000(), outNE2000again(), and outNE2000againbuf().

#define DATADIR   DDR1
 

Data direction register for the data bus

Definition at line 94 of file config.h.

Referenced by InitTransmission(), inNE2000(), NE2000DMAInit_position(), and outNE2000().

#define ADRBUS   PDR2
 

Port used as address bus towards the Ethernet controller

Definition at line 97 of file config.h.

Referenced by InitTransmission(), inNE2000(), NE2000DMAInit_position(), and outNE2000().

#define IOW   PDR2_P26
 

Write pin

Definition at line 100 of file config.h.

Referenced by outNE2000(), outNE2000again(), and outNE2000againbuf().

#define IOR   PDR2_P25
 

Read pin

Definition at line 101 of file config.h.

Referenced by inNE2000(), inNE2000again(), and inNE2000againbuf().

#define IOCHRDY   PDR0_P05
 

IOCHRDY pin

Definition at line 102 of file config.h.

Referenced by inNE2000(), inNE2000again(), inNE2000againbuf(), outNE2000(), outNE2000again(), and outNE2000againbuf().

#define RESETPIN_NE2000   PDR2_P27
 

Reset pin

Definition at line 104 of file config.h.

Referenced by NE2000Init().


Generated on Sun Aug 3 20:33:00 2003 for OpenTCP by doxygen1.2.18