TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
xmem.h File Reference

External SRAM interface for ATmega microcontrollers. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define XMEM_3KB   0
#define MEM_OFFSET   0x1800u
#define XMEM_SIZE   0x0800u

Functions

int xmem_init (void)
 Initializes external SRAM (2KB or 3KB depending on XMEM_3KB).
int SRAM_test (void)
 Tests external SRAM and prints a report.

Detailed Description

External SRAM interface for ATmega microcontrollers.

Definition in file xmem.h.