NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
battery Struct Reference

#include <battery.h>

Collaboration diagram for battery:

Data Fields

uint16_t vbat
 
uint16_t vbatRaw
 
uint16_t vbatLatestADC
 
uint8_t batteryCellCount
 
uint16_t batteryWarningVoltage
 
uint16_t batteryCriticalVoltage
 
uint16_t amperageLatestADC
 
int32_t amperage
 
int32_t mAhDrawn
 
battery_state_t batteryState
 
biquad_t vbatFilterState
 
const struct battery_configconfig
 

Field Documentation

int32_t battery::amperage
uint16_t battery::amperageLatestADC
uint8_t battery::batteryCellCount
uint16_t battery::batteryCriticalVoltage
battery_state_t battery::batteryState
uint16_t battery::batteryWarningVoltage
const struct battery_config* battery::config
int32_t battery::mAhDrawn
uint16_t battery::vbat
biquad_t battery::vbatFilterState
uint16_t battery::vbatLatestADC
uint16_t battery::vbatRaw

The documentation for this struct was generated from the following file: