Functions
hal/delay.h File Reference

Simple busy-loop delays. More...

#include <util/delay.h>

Functions

void delay_busy_ms (uint32_t ms)
void delay_busy_us (uint32_t us)

Detailed Description

Some busy-loop delay functions. Because of the way threading works, pause() is preferable to using these functions.


Function Documentation

void delay_busy_ms ( uint32_t  ms)

Wait for a certain number of milliseconds. Please use the pause() function instead.

void delay_busy_us ( uint32_t  us)

Wait for a certain number of microseconds. Please consider using pause() instead.