Subversion Repositories Code-Repo

Rev

Rev 222 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 222 Rev 223
Line 1... Line 1...
1
#ifndef TIMER_H
1
#ifndef TIMER_H
2
#define	TIMER_H
2
#define	TIMER_H
3
 
3
 
4
void TIMER_1_Init(void);
4
void TIMER_1_Init(void (*callback)(void));
5
void TIMER_1_Start(void);
5
void TIMER_1_Start(void);
6
void TIMER_1_Stop(void);
6
void TIMER_1_Stop(void);
7
void TIMER_1_Interrupt_Handler(void);
7
void TIMER_1_Interrupt_Handler(void);
8
 
8
 
-
 
9
// Timer 2 is used to manually PWM the LED
9
void TIMER_2_Init(void);
10
void TIMER_2_Init(void (*callback)(void));
10
void TIMER_2_Start(void);
11
void TIMER_2_Start(void);
11
void TIMER_2_Stop(void);
12
void TIMER_2_Stop(void);
12
void TIMER_2_Interrupt_Handler(void);
13
void TIMER_2_Interrupt_Handler(void);
13
 
14
 
14
#endif	/* TIMER_H */
15
#endif	/* TIMER_H */