enums.h File Reference


Detailed Description

Enums in common for Slave and Master.

Contains enumerations of timers and variable specifiers for time.c and USI.c.
These are also used in the Master, and have therefore been put in a separate file for convenience.

Application note:
AVR458: Charging Li-Ion Batteries with BC100
Documentation:
For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com
$Name$
Revision
2261
$RCSfile$
URL
http://svn.norway.atmel.com/AppsAVR8/avr463_Charging_NiMH_Batteries_with_BC100/tags/20070904_release_code_1.0/code/IAR/enums.h
Date
2007-08-10 09:28:35 +0200 (fr, 10 aug 2007)

Definition in file enums.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  {
  ADR_ADCS = 1, ADR_BATTACTIVE, ADR_BATTDATA, ADR_BATTCTRL,
  ADR_TIMERS
}
enum  {
  TIMER_USI = 0, TIMER_CHG, TIMER_GEN, TIMER_TEMP,
  TIMERS
}


Enumeration Type Documentation

anonymous enum

Enumerator:
ADR_ADCS  Indicates that ADCS is read/write target.
ADR_BATTACTIVE  Indicates that BattActive is read/write target.
ADR_BATTDATA  Indicates that BattData is read/write target.
ADR_BATTCTRL  Indicates that BattControl is read/write target.
ADR_TIMERS  Indicates that timeval is read/write target.

Definition at line 36 of file enums.h.

00036      {
00037         ADR_ADCS = 1,          
00038         ADR_BATTACTIVE,        
00039         ADR_BATTDATA,          
00040         ADR_BATTCTRL,          
00041         ADR_TIMERS             
00042 };

anonymous enum

Enumerator:
TIMER_USI  Timer meant for USI.
TIMER_CHG  Timer meant for charging.
TIMER_GEN  Timer meant for general use.
TIMER_TEMP  Timer meant for timing of temperature rise.
TIMERS  Number of timers used.

Definition at line 48 of file enums.h.

00048      {
00049         TIMER_USI = 0,          
00050         TIMER_CHG,              
00051         TIMER_GEN,              
00052         TIMER_TEMP,             
00053         TIMERS                  
00054 };


Generated on Tue Sep 4 19:17:58 2007 for AVR463 Charging NiMH Batteries with ATAVRBC100 by  doxygen 1.5.2