Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 279 Bytes
#ifndef _DELAY_H
#define _DELAY_H
#include <stdint.h>
#define WAITING_DELAY 10 MS
void delay(uint32_t delay);
void delay_ms(uint32_t delay);
#define delay_us(d) delayMicrosecondsInterruptible(d)
void delayMicrosecondsInterruptible(unsigned int us);
#endif /* _DELAY_H */