avr-task-scheduler

AVR mcu bare metal task scheduler
Index Commits Files Refs README LICENSE
src/millis.h (213B)
   1 #ifndef _TIMER_H_
   2 #define _TIMER_H_
   3 
   4 #ifdef __cplusplus
   5 extern "C" {
   6 #endif
   7 
   8 #include <stdint.h>
   9 
  10 void millis_init(void (*callback)(void));
  11 uint32_t millis(void);
  12 
  13 #ifdef __cplusplus
  14 }
  15 #endif
  16 
  17 #endif // _TIMER_H_