menu.c File Reference


Detailed Description

State menu definition.

Contains the definition of the state menu.
The state menu contains all states and adresses to associated functions.

Application note:
AVR458: Charging Li-Ion Batteries with BC100
AVR463: Charging NiMH 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
2299
$RCSfile$
URL
http://svn.norway.atmel.com/AppsAVR8/avr463_Charging_NiMH_Batteries_with_BC100/tags/20070904_release_code_1.0/code/IAR/menu.c
Date
2007-08-23 12:55:51 +0200 (to, 23 aug 2007)

Definition in file menu.c.

#include <stdlib.h>
#include "statefunc.h"
#include "charge.h"
#include "main.h"
#include "menu.h"

Include dependency graph for menu.c:

Go to the source code of this file.

Variables

__flash const MENU_STATE_t menu_state []
 The state menu.


Variable Documentation

__flash const MENU_STATE_t menu_state[]

Initial value:

 {

  { ST_INIT,            Initialize},
  { ST_BATCON,          BatteryControl},
  { ST_PREQUAL,         Charge},
  { ST_SLEEP,           Sleep},
  { ST_FASTCHARGE,      Charge},
  { ST_LOWRATECHARGE,   Charge},
  { ST_ENDCHARGE,       Charge},        
  { ST_DISCHARGE,       Discharge},
  { ST_ERROR,           Error},
  { 0,                  NULL},
}
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