Memory Allocation Functions
µC/LIB memory allocation functions provide several features. Single memory blocks may be allocated directly from the heap or from any other user-defined memory segments. However, in order to prevent fragmentation, these memory blocks cannot be freed back to the heap or their memory segment. Memory pool blocks can be allocated from either the general-purpose heap or from dedicated memory specified by the application. Memory pool blocks can be dynamically allocated and freed during application execution.