Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

ft245conf.h

Go to the documentation of this file.
00001 /*! \file ft245conf.h \brief FTDI FT245 USB Inferface Driver Configuration. */
00002 //*****************************************************************************
00003 //
00004 // File Name    : 'ft245conf.h'
00005 // Title        : FTDI FT245 USB Inferface Driver Configuration
00006 // Author       : Pascal Stang - Copyright (C) 2004
00007 // Created      : 2004.02.10
00008 // Revised      : 2004.02.19
00009 // Version      : 0.1
00010 // Target MCU   : Atmel AVR Series
00011 // Editor Tabs  : 4
00012 //
00013 // NOTE: This code is currently below version 1.0, and therefore is considered
00014 // to be lacking in some functionality or documentation, or may not be fully
00015 // tested.  Nonetheless, you can expect most functions to work.
00016 //
00017 // This code is distributed under the GNU Public License
00018 //      which can be found at http://www.gnu.org/licenses/gpl.txt
00019 //
00020 //*****************************************************************************
00021 
00022 #ifndef FT245CONF_H
00023 #define FT245CONF_H
00024 
00025 // FT245 I/O PORT Defines
00026 
00027 // Control lines
00028 #define FT245_CTRL_PORT     PORTD
00029 #define FT245_CTRL_DDR      DDRD
00030 #define FT245_CTRL_PORTIN   PIND
00031 
00032 #define FT245_RD            PD4
00033 #define FT245_WR            PD5
00034 #define FT245_TXE           PD6
00035 #define FT245_RXF           PD7
00036 #define FT245_RESET         PD0
00037 //#define FT245_SUSPEND     PC4
00038 
00039 // Data lines
00040 #define FT245_DATA_PORT     PORTA
00041 #define FT245_DATA_DDR      DDRA
00042 #define FT245_DATA_PORTIN   PINA
00043 
00044 #endif

Generated on Mon Nov 6 23:36:58 2006 for Procyon ARMlib by  doxygen 1.4.2