# Battery_struct Struct Reference

`#include <structs.h>`

## Detailed Description

Holds control data for a battery.

Definition at line 61 of file structs.h.

## Data Fields
unsigned char | ChargeInhibit: 1
| Inhibit charging. (TRUE/FALSE).
unsigned char | DisconnectAllowed: 1
| Disconnect allowed. (TRUE/FALSE).
unsigned char | Enabled: 1
| Battery valid, enabling allowed. (TRUE/FALSE).

## Field Documentation

unsigned char Battery_struct::ChargeInhibit

Inhibit charging. (TRUE/FALSE).

Todo:
  Changed by master?

Definition at line 70 of file structs.h.

Referenced by HaltNow().

unsigned char Battery_struct::DisconnectAllowed

Disconnect allowed. (TRUE/FALSE).

Definition at line 67 of file structs.h.

unsigned char Battery_struct::Enabled

Battery valid, enabling allowed. (TRUE/FALSE).

Definition at line 64 of file structs.h.

Referenced by HaltNow().