![]() |
xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
XMEM API Header. More...
Go to the source code of this file.
Data Structures | |
| struct | MallocState |
| All Malloc related State. More... | |
Macros | |
| #define | MEMSWITCH(x) uint8_t oldMemBank=xmemGetBank();if(oldMemBank!=x)xmemSetBank(x); |
| Switch the bank, if needed. More... | |
| #define | MEMSWITCHBACK(x) if(oldMemBank!=x)xmemSetBank(oldMemBank); |
| Switch back to the last bank, if needed. More... | |
| #define | MEMBANKS 8 |
| Available Memory Banks. More... | |
| #define | BANK_GENERIC 0 |
| Generic Memory Bank. More... | |
Functions | |
| void | xmemInit (void) |
| Initialize the External Memory Interface. More... | |
| void | xmemSetBank (uint8_t bank) |
| Switch the active memory bank. More... | |
| uint8_t | xmemGetBank (void) |
| Get the current memory bank. More... | |
Variables | |
| MallocState | states [MEMBANKS] |
| MallocState for all Memory Banks. More... | |
| uint8_t | currentBank |
| Current active Memory Bank. More... | |
XMEM API Header.
Definition in file xmem.h.
1.8.3.1