1 /* This file has been prepared for Doxygen automatic documentation generation.*/
\r
2 /*! \file *********************************************************************
\r
5 * Enums in common for Slave and Master
\r
7 * Contains enumerations of timers and variable specifiers for
\r
8 * time.c and USI.c.\n
\r
9 * These are also used in the Master, and have therefore been
\r
10 * put in a separate file for convenience.
\r
12 * \par Application note:
\r
13 * AVR458: Charging Li-Ion Batteries with BC100
\r
15 * \par Documentation:
\r
16 * For comprehensive code documentation, supported compilers, compiler
\r
17 * settings and supported devices see readme.html
\r
20 * Atmel Corporation: http://www.atmel.com \n
\r
21 * Support email: avr@atmel.com \n
\r
26 * $URL: http://svn.norway.atmel.com/AppsAVR8/avr458_Charging_Li-Ion_Batteries_with_BC100/tag/20070904_release_1.0/code/IAR/enums.h $
\r
27 * $Date: 2007-08-10 09:28:35 +0200 (fr, 10 aug 2007) $\n
\r
28 ******************************************************************************/
\r
33 //******************************************************************************
\r
34 // Variable specifiers (for Master-Slave communication)
\r
35 //******************************************************************************
\r
37 ADR_ADCS = 1, //!< Indicates that ADCS is read/write target.
\r
38 ADR_BATTACTIVE, //!< Indicates that BattActive is read/write target.
\r
39 ADR_BATTDATA, //!< Indicates that BattData is read/write target.
\r
40 ADR_BATTCTRL, //!< Indicates that BattControl is read/write target.
\r
41 ADR_TIMERS //!< Indicates that timeval is read/write target.
\r
45 //******************************************************************************
\r
47 //******************************************************************************
\r
49 TIMER_USI = 0, //!< Timer meant for USI.
\r
50 TIMER_CHG, //!< Timer meant for charging.
\r
51 TIMER_GEN, //!< Timer meant for general use.
\r
52 TIMER_TEMP, //!< Timer meant for timing of temperature rise.
\r
53 TIMERS //!< Number of timers used.
\r