# structs.h File Reference

## Detailed Description

Structs in common for Slave and Master.

Contains struct declarations for ADC.c and battery.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
  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
  4254

$RCSfile$

URL
  http://revisor.norway.atmel.com/AppsAVR8/avr458_Charging_Li-Ion_Batteries_with_BC100/trunk/code/IAR/structs.h

Date
  2008-07-25 12:32:45 +0200 (fr, 25 jul 2008)

Definition in file structs.h.

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

Go to the source code of this file.

## Data Structures
struct | ADC_Status_struct
| Holds ADC-status and samples. More...
struct | Batteries_struct
| Holds status and various data for a battery. More...
struct | Battery_struct
| Holds control data for a battery. More...
struct | ChargeParameters_struct
| Holds the parameters for ConstantCurrent() and ConstantVoltage(). More...
struct | HaltParameters_struct
| Holds the parameters for HaltNow();. More...
## Typedefs
typedef struct ADC_Status_struct | ADC_Status_t
| For convenience.
typedef struct Batteries_struct | Batteries_t
| For convenience.
typedef struct Battery_struct | Battery_t
| For convenience.
typedef struct ChargeParameters_struct | ChargeParameters_t
typedef struct HaltParameters_struct | HaltParameters_t

## Typedef Documentation

typedef struct ADC_Status_struct ADC_Status_t

For convenience.

Definition at line 99 of file structs.h.

typedef struct Batteries_struct Batteries_t

For convenience.

Definition at line 57 of file structs.h.

typedef struct Battery_struct Battery_t

For convenience.

Definition at line 72 of file structs.h.

typedef struct ChargeParameters_struct ChargeParameters_t

Definition at line 115 of file structs.h.

typedef struct HaltParameters_struct HaltParameters_t

Definition at line 154 of file structs.h.