forked from M-Labs/artiq
1
0
Fork 0
artiq/soc/runtime/clock.h

16 lines
286 B
C
Raw Normal View History

#ifndef __CLOCK_H
#define __CLOCK_H
void clock_init(void);
long long int clock_get_ms(void);
2015-07-28 00:05:24 +08:00
void busywait_us(long long us);
#define MAX_WATCHDOGS 16
void watchdog_init(void);
int watchdog_set(int ms);
void watchdog_clear(int id);
int watchdog_expired(void);
#endif /* __CLOCK_H */