mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 02:44:01 +08:00
15 lines
254 B
C
15 lines
254 B
C
#ifndef __CLOCK_H
|
|
#define __CLOCK_H
|
|
|
|
void clock_init(void);
|
|
long long int clock_get_ms(void);
|
|
|
|
#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 */
|