Trust Anchor Specific API
Include file: <mi.h> | Linker switch: -lmi
* These functions are not supported by the M5-P19 used in some early versions of the Trust Anchor dev. kit.
Standard MULTOS C-API
This is a cutdown version of the standard MULTOS C-API including the functionality most needed for the Trust Anchor product. The full C-API documentation is here
Include file: <multos.h> | Linker switch: None (included by default)
* These functions are not supported by the M5-P19 used in some early versions of the Trust Anchor dev. kit.
C Language Support
<ctype.h>isalpha isupper islower isdigit isspace ispunct isalnum isprint isgraph iscntrl <stdio.h>printf** |
<stdlib.h>abs div labs ldiv calloc* malloc* realloc* free* itoa ltoa ultoa
<heap.h>heap_init heap_used |
<string.h>memcpy memmove memcmp memchr memset***
strcpy strncpy strcat strncat strcmp strncmp strchr strcspn strpbrk strrchr strspn strstr strlen |
Notes:
* There is no heap as such in MULTOS as applications have to define their memory usage during the loading process. However it is possible to pre-allocate an area of memory as heap using the functions in <heap.h> allowing malloc etc. to be used.
** printf will output to console when using the simulator or to the default serial port when running in the chip.
*** It is much faster to use multosClear than memset to set a block of memory to zero.