4.4.4 __delay32 Function

Produce a delay of a specified number of clock cycles.

Include

<libpic30.h>

Prototype

void __delay32(unsigned long cycles);

Argument

cycles number of cycles to delay

Remarks

None.

Default Behavior

This function will effect a delay of the requested number of cycles. The minimum supported delay is 12 cycles (an argument of less than or equal to 12 will result in 12 cycles). The delay includes the call and return statements, but not any cycles required to set up the argument (typically this would be two for a literal value).

File

delay32.s