#include "compiler.h"
#include "preprocessor.h"
#include "gpio.h"
#include "smc.h"
#include "smc_et024006dhu.h"
Macros | |
#define | NWAIT_MODE_GLOBAL AVR32_SMC_EXNW_MODE_DISABLED |
#define | SMC_8_BIT_CHIPS_GLOBAL false |
#define | SMC_CS_SETUP(ncs) |
#define | SMC_DBW_GLOBAL 16 |
Functions | |
static void | smc_enable_muxed_pins (void) |
Puts the multiplexed MCU pins used for the SMC. More... | |
unsigned char | smc_get_cs_size (unsigned char cs) |
Return the size of the peripheral connected . More... | |
void | smc_init (unsigned long hsb_hz) |
Initializes the AVR32 SMC module and the connected SRAM(s). More... | |
Variables | |
static U8 | smc_tab_cs_size [6] |
#define NWAIT_MODE_GLOBAL AVR32_SMC_EXNW_MODE_DISABLED |
#define SMC_8_BIT_CHIPS_GLOBAL false |
#define SMC_CS_SETUP | ( | ncs | ) |
Referenced by smc_init().
#define SMC_DBW_GLOBAL 16 |
|
static |
Puts the multiplexed MCU pins used for the SMC.
References ATPASTE2, EBI_ADDR_21, EBI_DATA_0, EBI_DATA_1, EBI_DATA_10, EBI_DATA_11, EBI_DATA_12, EBI_DATA_13, EBI_DATA_14, EBI_DATA_15, EBI_DATA_2, EBI_DATA_3, EBI_DATA_4, EBI_DATA_5, EBI_DATA_6, EBI_DATA_7, EBI_DATA_8, EBI_DATA_9, EBI_NCS_0, EBI_NRD, EBI_NWE0, and gpio_enable_module().
Referenced by smc_init().
|
static |
Referenced by smc_get_cs_size().