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 .
cs | The 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).
hsb_hz | HSB frequency in Hz (the HSB frequency is applied to the SMC). |
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().