* arch/arm/src/str71x/str71x_emi.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
****************************************************************************/
#ifndef __ARCH_ARM_SRC_STR71X_STR71X_EMI_H
#define __ARCH_ARM_SRC_STR71X_STR71X_EMI_H
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include "str71x_map.h"
* Pre-processor Definitions
****************************************************************************/
#define STR71X_EMI_BCON0_OFFSET (0x0000)
#define STR71X_EMI_BCON1_OFFSET (0x0004)
#define STR71X_EMI_BCON2_OFFSET (0x0008)
#define STR71X_EMI_BCON3_OFFSET (0x000c)
#define STR71X_EMI_BCON0 (STR71X_EMI_BASE + STR71X_EMI_BCON0_OFFSET)
#define STR71X_EMI_BCON1 (STR71X_EMI_BASE + STR71X_EMI_BCON1_OFFSET)
#define STR71X_EMI_BCON2 (STR71X_EMI_BASE + STR71X_EMI_BCON2_OFFSET)
#define STR71X_EMI_BCON3 (STR71X_EMI_BASE + STR71X_EMI_BCON3_OFFSET)
#define STR71X_EMIBCON_BSIZEMASK (0x0003)
#define STR71X_EMIBCON_BSIZE8 (0x0000)
#define STR71X_EMIBCON_BSIZE16 (0x0001)
#define STR71X_EMIBCON_WSMASK (0x003c)
#define STR71X_EMIBCON_WS0 (0x0000)
#define STR71X_EMIBCON_WS1 (0x0004)
#define STR71X_EMIBCON_WS2 (0x0008)
#define STR71X_EMIBCON_WS3 (0x000c)
#define STR71X_EMIBCON_WS4 (0x0010)
#define STR71X_EMIBCON_WS5 (0x0014)
#define STR71X_EMIBCON_WS6 (0x0018)
#define STR71X_EMIBCON_WS7 (0x001c)
#define STR71X_EMIBCON_WS8 (0x0020)
#define STR71X_EMIBCON_WS9 (0x0024)
#define STR71X_EMIBCON_WS10 (0x0028)
#define STR71X_EMIBCON_WS11 (0x002c)
#define STR71X_EMIBCON_WS12 (0x0030)
#define STR71X_EMIBCON_WS13 (0x0034)
#define STR71X_EMIBCON_WS14 (0x0038)
#define STR71X_EMIBCON_WS15 (0x003c)
#define STR71X_EMIBCON_ENABLE (0x8000)
* Public Types
****************************************************************************/
* Public Data
****************************************************************************/
* Public Functions Prototypes
****************************************************************************/
#endif