Revision 55
G1
timer1.h | ||
---|---|---|
5 | 5 |
* Created on September 30, 2014, 6:59 PM |
6 | 6 |
*/ |
7 | 7 |
|
8 |
/*! \brief This library provides functions to access the timer1 module |
|
9 |
*/ |
|
8 | 10 |
|
11 |
/** Initializing funtion |
|
12 |
* |
|
13 |
* Configure the timer1 parameters and frequency |
|
14 |
* |
|
15 |
* unsigned int frequency |
|
16 |
*/ |
|
9 | 17 |
int initTimer1(unsigned int frequency); |
18 |
|
|
19 |
/** Start Function |
|
20 |
* |
|
21 |
* Starts the timer1 |
|
22 |
*/ |
|
10 | 23 |
int startTimer1(void); |
24 |
|
|
25 |
/** Stop Function |
|
26 |
* |
|
27 |
* Stops the timer1 |
|
28 |
*/ |
|
11 | 29 |
int stopTimer1(void); |
30 |
|
|
31 |
/** Reset Function |
|
32 |
* |
|
33 |
* Reset the timer1 counter |
|
34 |
*/ |
|
12 | 35 |
int resetTimer1(void); |
Also available in: Unified diff