Keil™, An ARM® Company

CARM User's Guide

Discontinued

Source Code

Source code is provided (in the \KEIL\ARM\LIB folder) for the following library routines:

Library RoutineFilenameDescription
calloccalloc.cAllocates memory for an array of elements.
freefree.cReleases memory allocated with calloc, malloc, or realloc.
_getkeygetkey.cWaits for a character to be received from the serial port.
init_mempoolinit_mem.cInitializes the memory pool used by the calloc, free, malloc, and realloc routines.
mallocmalloc.cAllocates a memory block from the memory pool.
putcharputchar.cTransmits a character using the serial port.
reallocrealloc.cChanges the size of a previously allocated memory block.

You may modify these routines and substitute them for the default routines stored in the library.