menu.h File Reference


Detailed Description

Headerfile for menu.c.

Contains definitions of each state and declaration of the state menu entry struct.

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/menu.h
Date
2007-08-10 09:28:35 +0200 (fr, 10 aug 2007)

Definition in file menu.h.

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

Go to the source code of this file.

Data Structures

struct  MENU_STATE_struct
 Holds an entry in the state menu. More...

Defines

#define ST_BATCON   (20)
 Identifies battery control state.
#define ST_CCURRENT   (100)
 Identifies constant current charge state.
#define ST_CVOLTAGE   (110)
 Identifies constant voltage charge state.
#define ST_DISCHARGE   (80)
 Identifies discharge state.
#define ST_ENDCHARGE   (70)
 Identifies end of charge.
#define ST_ERROR   (90)
 Identifies error state.
#define ST_FASTCHARGE   (50)
 Identifies fast charge state.
#define ST_INIT   (10)
 Identifies initialization state.
#define ST_LOWRATECHARGE   (60)
 Identifies trickle charge state.
#define ST_PREQUAL   (30)
 Identifies prequalification state.
#define ST_SLEEP   (40)
 Identifies sleep state.

Typedefs

typedef MENU_STATE_struct MENU_STATE_t
 For convenience.

Variables

__flash const MENU_STATE_t menu_state []
 The state menu.


Define Documentation

#define ST_BATCON   (20)

Identifies battery control state.

Definition at line 38 of file menu.h.

Referenced by Charge(), Discharge(), Initialize(), and Sleep().

#define ST_CCURRENT   (100)

Identifies constant current charge state.

Definition at line 46 of file menu.h.

#define ST_CVOLTAGE   (110)

Identifies constant voltage charge state.

Definition at line 47 of file menu.h.

#define ST_DISCHARGE   (80)

Identifies discharge state.

Definition at line 44 of file menu.h.

#define ST_ENDCHARGE   (70)

Identifies end of charge.

Definition at line 43 of file menu.h.

Referenced by Charge().

#define ST_ERROR   (90)

Identifies error state.

Definition at line 45 of file menu.h.

Referenced by BatteryControl(), ConstantCurrent(), and ConstantVoltage().

#define ST_FASTCHARGE   (50)

Identifies fast charge state.

Definition at line 41 of file menu.h.

Referenced by Charge().

#define ST_INIT   (10)

Identifies initialization state.

Definition at line 37 of file menu.h.

Referenced by Charge(), Error(), and main().

#define ST_LOWRATECHARGE   (60)

Identifies trickle charge state.

Definition at line 42 of file menu.h.

Referenced by Charge().

#define ST_PREQUAL   (30)

Identifies prequalification state.

Definition at line 39 of file menu.h.

Referenced by BatteryControl(), and Charge().

#define ST_SLEEP   (40)

Identifies sleep state.

Definition at line 40 of file menu.h.

Referenced by BatteryControl(), and Charge().


Typedef Documentation

typedef struct MENU_STATE_struct MENU_STATE_t

For convenience.

Definition at line 62 of file menu.h.


Variable Documentation

__flash const MENU_STATE_t menu_state[]

The state menu.

Contains all the defined states and addresses to their associated functions.

Definition at line 46 of file menu.c.

Referenced by main().


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