- added suspend mode command 'X'
- added timerStop() git-svn-id: http://moon:8086/svn/projects/HendiControl@66 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -20,8 +20,8 @@ typedef enum _eTimerId
|
||||
|
||||
typedef struct _sTimer_t
|
||||
{
|
||||
int isRunning;
|
||||
uint16_t count;
|
||||
volatile int isRunning;
|
||||
volatile uint16_t count;
|
||||
} Timer_t;
|
||||
|
||||
typedef enum _eTimerClockSel
|
||||
@@ -39,4 +39,5 @@ typedef enum _eTimerClockSel
|
||||
|
||||
void timer_init(Fifo *pFifo, uint16_t TIMER_RELOAD, TimerClockSel clockSel);
|
||||
void timer_start(TimerId timerId, uint16_t count);
|
||||
void timer_stop(TimerId timerId);
|
||||
#endif /* TIMER_H_ */
|
||||
Reference in New Issue
Block a user