Repository navigation
Platform C headers
Andrey Eliseev edited this page Jul 25, 2026
·
3 revisions
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.
- Home
- LLVM targets
- Memory models
- ISA extensions
- Standard library
- Platform C headers
- Default linker scripts
- CDM ABI
- Getting started
- Setting up a project
- Using C and assembly together
- Memory-mapped IO
- Interrupt handlers