You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
204 B
16 lines
204 B
#ifndef __TICKS__
|
|
#define __TICKS__
|
|
|
|
#include <stdint.h>
|
|
void ticks_init(int ms);
|
|
|
|
uint64_t millis();
|
|
|
|
void delay(unsigned int ms);
|
|
|
|
void ticks_set_callback(void (*f)(int));
|
|
|
|
void ticks_close();
|
|
|
|
#endif
|
|
|
|
|