1 /* A couple of routines to implement a low-overhead timer for drivers */
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2, or (at
7 * your option) any later version.
12 /* Machine Independant timer helper functions */
14 void mdelay(unsigned int msecs
)
17 for(i
= 0; i
< msecs
; i
++) {
23 void waiton_timer2(unsigned int ticks
)
26 while(timer2_running()) {