Platform C headers - ylab-nsu/cdm16-llvm-neo GitHub Wiki
The toolchain includes a set of standard CDM-specific headers:
-
<cdm/execution.h>(API reference) - processor execution control functions (halt, reset); -
<cdm/register.h>(API reference) - access to special registers (PSR,PC,SP,FP); -
<cdm/interrupt.h>(API reference) - interrupt control functions (enable, disable, trigger, wait); -
<cdm/ivt.h>(API reference) - IVT helpers (ISRspecifier, IVT definition macro).
These headers do not require any libraries, as they only contain preprocessor definitions and inline functions.
Note
Some of the features provided by these headers are not supported when targeting cdm-cocas. Check the notes for individual definitions in the API reference.