Defines | |
#define | NUTBANK_COUNT |
Number of memory banks. | |
#define | NUTBANK_START |
Start address of memory banks. | |
#define | NUTBANK_SIZE |
Size of a single memory bank. | |
#define | NUTBANK_SR |
Address of the bank select register. | |
Functions | |
__BEGIN_DECLS 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. |
|
Number of memory banks. For systems without banked memory this is set to zero. Ethernut 2 has 30 memory banks. |
|
Size of a single memory bank. For systems without banked memory this is ignored. |
|
Address of the bank select register. For systems without banked memory this is ignored. |
|
Start address of memory banks. For systems without banked memory this is ignored. |