1 /* This file has been prepared for Doxygen automatic documentation generation.*/
\r
2 /*! \file *********************************************************************
\r
5 * Headerfile for main.c
\r
7 * Contains some basic definitions (FALSE, TRUE, ZERO) as well as
\r
8 * what battery type (NiMh or Li-Ion) the charger is for.
\r
10 * \par Application note:
\r
11 * AVR458: Charging Li-Ion Batteries with BC100
\r
13 * \par Documentation:
\r
14 * For comprehensive code documentation, supported compilers, compiler
\r
15 * settings and supported devices see readme.html
\r
18 * Atmel Corporation: http://www.atmel.com \n
\r
19 * Support email: avr@atmel.com
\r
25 * $URL: http://svn.norway.atmel.com/AppsAVR8/avr458_Charging_Li-Ion_Batteries_with_BC100/tag/20070904_release_1.0/code/IAR/main.h $
\r
26 * $Date: 2007-08-23 14:57:36 +0200 (to, 23 aug 2007) $\n
\r
27 ******************************************************************************/
\r
33 //******************************************************************************
\r
34 // Firmware revision
\r
35 //******************************************************************************
\r
40 //******************************************************************************
\r
41 // Battery type (add appropriate *charge.c to project!)
\r
42 //******************************************************************************
\r
43 #define NIMH //!< Use specs and state menu for NIMH.
\r
44 //#define LIION //!< Use specs and state menu for LIION.
\r
47 //******************************************************************************
\r
48 // Basic definitions
\r
49 //******************************************************************************
\r
50 #define FALSE 0 //!< We have to define this ourselves.
\r
51 #define TRUE (!FALSE) //!< We have to define this ourselves.
\r
52 #define ZERO 0 //!< We have to define this ourselves.
\r
55 //******************************************************************************
\r
57 //******************************************************************************
\r
58 extern unsigned char CurrentState;
\r