#include <delay.h>
#include <types.h>
#include <util.h>
#include <arch/sysreg.h>
#include <chip/clk.h>

Go to the source code of this file.
Functions | |
| void | udelay (unsigned long us) |
| Delay for a specified number of microseconds. | |
This implementation of udelay() uses the architecture-specified COUNT system register. Note that this breaks on some chips when the COUNT/COMPARE interrupt is used.
Definition in file delay.c.
| void udelay | ( | unsigned long | us | ) |
Delay for a specified number of microseconds.
Since the max CPU frequency at this point is 66 MHz, this function supports delays up to
| us | Number of microseconds to delay. |
Definition at line 64 of file delay.c.
References div_ceil, and get_cpu_clock_rate().
Referenced by mdelay().

1.5.8