# ChargeParameters_struct Struct Reference

`#include <structs.h>`

## Detailed Description

Holds the parameters for ConstantCurrent() and ConstantVoltage().

Definition at line 108 of file structs.h.

## Data Fields
unsigned int | Current
| Current to charge with.
unsigned char | NextState
| Next state once charge stage finishes.
unsigned int | Voltage
| Voltage to charge with.

## Field Documentation

unsigned int ChargeParameters_struct::Current

Current to charge with.

Definition at line 110 of file structs.h.

Referenced by Charge(), ConstantCurrent(), and MaxVoltageAndCurrent().

unsigned char ChargeParameters_struct::NextState

Next state once charge stage finishes.

Note:
  Set in Charge(), but may be changed by HaltNow() if an error occurs!

Definition at line 111 of file structs.h.

Referenced by Charge(), ConstantCurrent(), ConstantVoltage(), HaltNow(), and MaxVoltageAndCurrent().

unsigned int ChargeParameters_struct::Voltage

Voltage to charge with.

Definition at line 109 of file structs.h.

Referenced by Charge(), ConstantVoltage(), and MaxVoltageAndCurrent().