1 /* This file has been prepared for Doxygen automatic documentation generation.*/
\r
2 /*! \file *********************************************************************
\r
5 * Header file for time.c
\r
7 * Contains definitions of the number of timers used and their names.
\r
9 * \par Application note:
\r
10 * AVR458: Charging Li-Ion Batteries with BC100
\r
12 * \par Documentation
\r
13 * For comprehensive code documentation, supported compilers, compiler
\r
14 * settings and supported devices see readme.html
\r
17 * Atmel Corporation: http://www.atmel.com \n
\r
18 * Support email: avr@atmel.com
\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
32 //******************************************************************************
\r
34 //******************************************************************************
\r
35 extern unsigned long timeval[]; // Needed for SPI transfer.
\r
38 //******************************************************************************
\r
39 // Function prototypes
\r
40 //******************************************************************************
\r
41 #pragma vector = TIM0_COMPA_vect
\r
42 __interrupt void TICK_ISR(void);
\r
44 unsigned char Time_Left(unsigned char timer);
\r
45 void Time_Set(unsigned char timer, unsigned int min, unsigned char sec,
\r
47 void Time_Stop(void);
\r
48 void Time_Start(void);
\r
49 void Time_Init(void);
\r