|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDMAMemoryManager
Interface to a manager of uncached memory suitable for use as DMA buffers.
| Method Summary | |
|---|---|
Hashtable |
getAllocationDetails()
Get information about current memory allocations. |
int |
getBuffer(int size,
String comment)
Try to obtain memory for a DMA buffer. |
int |
getMaxAvailableBufferSize()
Find out the size of the biggest available DMA memory buffer |
void |
releaseBuffer(int memAddr)
Release a previously allocated buffer |
| Method Detail |
|---|
int getBuffer(int size,
String comment)
throws NotEnoughDMAMemoryException
size - The size of the required buffercomment - A string that describes the usage (so we can tell who's using what)
NotEnoughDMAMemoryExceptionint getMaxAvailableBufferSize()
void releaseBuffer(int memAddr)
memAddr - The address of the buffer being releasedHashtable getAllocationDetails()
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||