CC3200 Peripheral Driver Library User's Guide: Utils_api

CC3200 Peripheral Driver

CC3200 Peripheral Driver Library User's Guide  1.2.0
Utils_api

Functions

void UtilsDelay (unsigned long ulCount)
 
void __attribute__ ((naked))
 
 __asm (" .sect \".text:UtilsDelay\"\n"" .clink\n"" .thumbfunc UtilsDelay\n"" .thumb\n"" .global UtilsDelay\n""UtilsDelay:\n"" subs r0, #1\n"" bne.n UtilsDelay\n"" bx lr\n")
 

Detailed Description

Function Documentation

void UtilsDelay ( unsigned long  ulCount)

Provides a small delay.

Parameters
ulCountis the number of delay loop iterations to perform.

This function provides a means of generating a constant length delay. It is written in assembly to keep the delay consistent across tool chains, avoiding the need to tune the delay based on the tool chain in use.

The loop takes 3 cycles/loop.

Returns
None.
Generated on Thu Feb 18 2016 13:22:02 for CC3200 Peripheral Driver Library User's Guide by   doxygen 1.8.11