Summary of intrinsic functions
To use intrinsic functions in an application, include the header file intrinsics.h.
Note that the intrinsic function names start with double underscores, for example:
__disable_interrupt
This table summarizes the intrinsic functions:
Intrinsic function | Description |
|---|---|
Creates a pointer of the same type as the parameter, representing the base of the area pointed to by the parameter. See Compiler and linker reference for C-RUN. | |
Creates a pointer of the same type as the parameter, representing the upper bound of the area pointed to by the parameter. See Compiler and linker reference for C-RUN. | |
Creates a pointer with bounds information. See Compiler and linker reference for C-RUN. | |
Calculates the arctangent, using the TFU (fixed-point) | |
Returns the arctangent and the hypotenuse, using the TFU | |
Calculates the arctangent and the hypotenuse at the same time, using the TFU (fixed-point) | |
Inserts a | |
Returns the value of the base register for constant data when ROPI is enabled | |
Calculates the cosine value using TFU (fixed-point) | |
Inserts No Operation (NOP) instructions to delay execution | |
Disables interrupts | |
Enables interrupts | |
Inserts an | |
Inserts an | |
Returns the value of the | |
Returns the value of the | |
Returns the value of the | |
Returns the value of the | |
Returns the value of the | |
Returns the value of the | |
Returns the interrupt level | |
Returns the interrupt state | |
Returns the value of the | |
Returns the value of the | |
Returns the value of the | |
Returns the return address | |
Returns the value of the stack pointer | |
Returns the value of the | |
Calculates the hypotenuse length using the TFU (fixed-point) | |
Inserts an illegal operation code | |
Returns the arctangent, using the TFU | |
Returns the cosine, using the TFU | |
Returns the hypotenuse, using the TFU | |
Returns the sine, using the TFU | |
Executes MAC operations on 16-bit signed data vectors and returns a 32-bit value | |
Executes a MAC operation on 16-bit signed data and returns a 16-bit value, rounded using the | |
Executes a MAC operation on 16-bit signed data and returns a 16-bit value, rounded using the | |
Inserts a | |
Inserts a | |
Inserts a | |
Inserts an | |
Inserts an | |
Inserts an | |
Inserts a | |
Returns the value of the base register for static data when RWPI is enabled | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Sets the interrupt level | |
Restores the interrupt state | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Writes a specific value to the | |
Returns the sine and the cosine, using the TFU | |
Calculates the sine and the cosine at the same time, using the TFU (fixed-point) | |
Calculates the sine, using the TFU (fixed-point) | |
Inserts an | |
Inserts a |