Skip to main content

IAR Embedded Workbench for RX 5.20

__delay_cycles

In this section:
Syntax
void __delay_cycles(unsigned long cycles);
Description

Inserts No Operation (NOP) instructions to delay execution for at least cycles number of execution cycles.

Note

This function does not take pipelined architecture in consideration where the actual delay may be shorter. As a result, the __delay_cycles function does not produce an exact delay counted in cycles for devices with instruction pipelining.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.