Microchip® Advanced Software Framework

smc.c File Reference
#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 void smc_enable_muxed_pins ( void  )
static

U8 smc_tab_cs_size[6]
static

Referenced by smc_get_cs_size().