00001 /* This header file is part of the ATMEL AVR32-SoftwareFramework-AT32UC3-1.5.0 Release */ 00002 00003 /*This file is prepared for Doxygen automatic documentation generation.*/ 00017 /* Copyright (c) 2009 Atmel Corporation. All rights reserved. 00018 * 00019 * Redistribution and use in source and binary forms, with or without 00020 * modification, are permitted provided that the following conditions are met: 00021 * 00022 * 1. Redistributions of source code must retain the above copyright notice, this 00023 * list of conditions and the following disclaimer. 00024 * 00025 * 2. Redistributions in binary form must reproduce the above copyright notice, 00026 * this list of conditions and the following disclaimer in the documentation 00027 * and/or other materials provided with the distribution. 00028 * 00029 * 3. The name of Atmel may not be used to endorse or promote products derived 00030 * from this software without specific prior written permission. 00031 * 00032 * 4. This software may only be redistributed and used in connection with an Atmel 00033 * AVR product. 00034 * 00035 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED 00036 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00037 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 00038 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR 00039 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00040 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00041 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00042 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00043 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00044 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 00045 * 00046 */ 00047 #ifndef _CONF_ET024006DHU_H_ 00048 #define _CONF_ET024006DHU_H_ 00049 00050 00051 #include "compiler.h" 00052 #include "board.h" 00053 00058 #define ET024006_IFACE_MODE ET024006_IFACE_MODE_EBI 00059 00060 00061 00062 #if BOARD == EVK1105 00063 00064 #ifdef EVK1105_REV3 00065 00069 #define ET024006_CMD_ADDR ((volatile unsigned short int *) AVR32_EBI_CS2_ADDRESS) 00070 00076 #define ET024006_PARAM_ADDR ((volatile unsigned short int *) (AVR32_EBI_CS2_ADDRESS + 0x00080000)) 00077 00078 #else 00079 00083 #define ET024006_CMD_ADDR ((volatile unsigned short int *) AVR32_EBI_CS0_ADDRESS) 00084 00085 00091 #define ET024006_PARAM_ADDR ((volatile unsigned short int *) (AVR32_EBI_CS0_ADDRESS + 0x00200000)) 00092 00093 #endif // _EVK1105_REV3 00094 00095 #elif BOARD == EVK1103 00096 00099 #define ET024006_CMD_ADDR ((volatile unsigned short int *) AVR32_EBI_CS0_ADDRESS) 00100 00101 00107 #define ET024006_PARAM_ADDR ((volatile unsigned short int *) (AVR32_EBI_CS0_ADDRESS + 0x00400000)) 00108 00109 #elif BOARD == EVK1104 00110 00114 #define ET024006_CMD_ADDR ((volatile unsigned short int *) AVR32_EBI_CS0_ADDRESS) 00115 00116 00122 #define ET024006_PARAM_ADDR ((volatile unsigned short int *) (AVR32_EBI_CS0_ADDRESS + 0x00200000)) 00123 00124 00125 #endif 00126 00127 #endif // _CONF_ET024006DHU_H_