- IAR Embedded Workbench for Arm 9.70.x
- IAR C/C++ Development
- Functions
- Function-related extensions
Function-related extensions
In this section:
In addition to supporting Standard C, the compiler provides several extensions for writing functions in C. Using these, you can:
Generate code for the 32-bit CPU modes Arm and Thumb
Generate code for the A64 instruction set
Execute functions in RAM
Write interrupt functions for the different devices
Control function inlining
Facilitate function optimization
Access hardware features.
Create interface functions for TrustZone
The compiler uses compiler options, extended keywords, pragma directives, and intrinsic functions to support this.
For more information about optimizations, see Efficient coding for embedded applications. For information about the available intrinsic functions for accessing hardware operations, see Intrinsic functions.