Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MEMORY - EBI Static Memory Controller

EBI (External Bus Interface) SMC (Static Memory Controller) allows to connect a Static Memory to the microcontroller.

Functions

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...
 

unsigned char smc_get_cs_size ( unsigned char  cs)

Return the size of the peripheral connected .

Parameters
csThe chip select value

References smc_tab_cs_size.

void smc_init ( unsigned long  hsb_hz)

Initializes the AVR32 SMC module and the connected SRAM(s).

Parameters
hsb_hzHSB frequency in Hz (the HSB frequency is applied to the SMC).
Note
Each access to the SMC address space validates the mode of the SMC and generates an operation corresponding to this mode.

Whether to use the NCS0 pin

SMC Peripheral Memory Size in Bytes

SMC Data Bus Width

Whether 8-bit SM chips are connected on the SMC

Whether read is controlled by NCS or by NRD

Whether write is controlled by NCS or by NWE

Whether to use the NWAIT pin

Whether to use the NCS1 pin

Whether to use the NCS2 pin

Whether to use the NCS3 pin

Whether to use the NCS4 pin

Whether to use the NCS5 pin

References SMC_CS_SETUP, and smc_enable_muxed_pins().

Referenced by et024006_Init().