Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

bankmem.h File Reference


Detailed Description

Banked memory management definitions.


Defines

#define NUTBANK_COUNT   0
#define NutSegBufEnable(bank)

Functions

char * NutSegBufReset (void)
 Reset the segmented buffer.
char * NutSegBufInit (size_t size)
 Initialize the segmented buffer.
char * NutSegBufWriteRequest (size_t *bcp)
 Request segmented buffer space for writing.
char * NutSegBufReadRequest (size_t *bcp)
 Request segmented buffer space for reading.
char * NutSegBufWriteCommit (u_short bc)
 Commit written buffer space.
char * NutSegBufReadCommit (size_t bc)
 Commit read buffer space.
void NutSegBufWriteLast (u_short bc)
 Commit written buffer space and finish write access.
void NutSegBufReadLast (u_short bc)
 Commit written buffer space and finish read access.
u_long NutSegBufAvailable (void)
 Return the available buffer space.
u_long NutSegBufUsed (void)
 Return the used buffer space.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/