ttt2/my_src/timer.h

25 lines
302 B
C
Raw Normal View History

/*
* timer.h
*
* Created on: May 31, 2017
* Author: wn
*/
#ifndef TIMER_H_
#define TIMER_H_
typedef enum {
IDLE = 0,
STARTED = 1,
RUNNING = 2,
OVERRUN = 3
} tTimerState;
2017-06-07 22:15:54 +02:00
void timerInit();
void secondTick(void *handle);
void startTimer();
2017-06-02 17:30:39 +02:00
void stopTimer();
#endif /* TIMER_H_ */