porting/dpl_lib/src/dpl_cputime.c
/**
 * Wait until the number of ticks has elapsed. This is a blocking delay.
 *
 * @param ticks The number of ticks to wait.
 */
Wait until the number of ticks has elapsed. This is a blocking delay.
@param ticks The number of ticks to wait.
Wait until the number of ticks has elapsed . This is a blocking delay . @param ticks The number of ticks to wait .
void
dpl_cputime_delay_ticks(uint32_t ticks)
{
    uint32_t until;
    until = dpl_cputime_get32() + ticks;
    while ((int32_t)(dpl_cputime_get32() - until) < 0) {
    }
}
void dpl_cputime_delay_ticks ( uint32_t ticks ) { uint32_t until ; until = dpl_cputime_get32 ( ) + ticks ; while ( ( int32_t ) ( dpl_cputime_get32 ( ) - until ) < 0 ) { } }
Wait until the number of ticks has elapsed.
Wait until the number of ticks has elapsed .
/* Loop here till finished */