Initial import
[avr_bc100.git] / BaseTinyFirmware / GCC / time.h
1 /* This file has been prepared for Doxygen automatic documentation generation.*/\r
2 /*! \file *********************************************************************\r
3  *\r
4  * \brief\r
5  *      Header file for time.c\r
6  *\r
7  *      Contains definitions of the number of timers used and their names.\r
8  *\r
9  * \par Application note:\r
10  *      AVR458: Charging Li-Ion Batteries with BC100\r
11  *\r
12  * \par Documentation\r
13  *      For comprehensive code documentation, supported compilers, compiler \r
14  *      settings and supported devices see readme.html\r
15  *\r
16  * \author\r
17  *      Atmel Corporation: http://www.atmel.com \n\r
18  *      Support email: avr@atmel.com\r
19  *\r
20  * \r
21  * $Name$\r
22  * $Revision: 2261 $\r
23  * $RCSfile$\r
24  * $URL: http://svn.norway.atmel.com/AppsAVR8/avr458_Charging_Li-Ion_Batteries_with_BC100/tag/20070904_release_1.0/code/IAR/time.h $\r
25  * $Date: 2007-08-10 09:28:35 +0200 (fr, 10 aug 2007) $\n\r
26  ******************************************************************************/\r
27 \r
28 #ifndef TIME_H\r
29 #define TIME_H\r
30 \r
31 \r
32 //******************************************************************************\r
33 // Globals\r
34 //******************************************************************************\r
35 extern unsigned long timeval[];  // Needed for SPI transfer.\r
36 \r
37 \r
38 //******************************************************************************\r
39 // Function prototypes\r
40 //******************************************************************************\r
41 \r
42 unsigned char Time_Left(unsigned char i);\r
43 void Time_Set(unsigned char i, unsigned int min, unsigned char sec,\r
44                                   unsigned char ms);\r
45 void Time_Stop(void);\r
46 void Time_Start(void);\r
47 void Time_Init(void);\r
48 \r
49 #endif // TIME_H\r