|
TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
|
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. | |
| #define MEM_OFFSET 0x1800u |
#include <xmem.h>
Base address for external SRAM
Definition at line 26 of file xmem.h.
Referenced by SRAM_test().
| #define XMEM_3KB 0 |
| #define XMEM_SIZE 0x0800u |
#include <xmem.h>
Size of external SRAM: 2KB
Definition at line 27 of file xmem.h.
Referenced by SRAM_test().
| int SRAM_test | ( | void | ) |
#include <xmem.h>
Tests external SRAM and prints a report.
Definition at line 43 of file xmem.c.
Referenced by main().
| int xmem_init | ( | void | ) |
#include <xmem.h>
Initializes external SRAM (2KB or 3KB depending on XMEM_3KB).
Definition at line 12 of file xmem.c.
Referenced by main().