00001 #ifndef _DELAY_H 00002 #define _DELAY_H 00003 00004 #include <stdint.h> 00005 00006 #define WAITING_DELAY 10 MS 00007 00008 void delay(uint32_t delay); 00009 00010 void delay_ms(uint32_t delay); 00011 00012 #define delay_us(d) delayMicrosecondsInterruptible(d) 00013 void delayMicrosecondsInterruptible(unsigned int us); 00014 00015 #endif /* _DELAY_H */