NinjaFlight
|
Go to the source code of this file.
Data Structures | |
struct | battery_config |
Macros | |
#define | VBAT_SCALE_DEFAULT 110 |
#define | VBAT_RESDIVVAL_DEFAULT 10 |
#define | VBAT_RESDIVMULTIPLIER_DEFAULT 1 |
#define | VBAT_SCALE_MIN 0 |
#define | VBAT_SCALE_MAX 255 |
Enumerations | |
enum | current_sensor_type_t { CURRENT_SENSOR_NONE = 0, CURRENT_SENSOR_ADC, CURRENT_SENSOR_VIRTUAL, CURRENT_SENSOR_MAX = CURRENT_SENSOR_VIRTUAL } |
Functions | |
struct battery_config | __attribute__ ((packed)) |
Variables | |
typedef | __attribute__ |
uint8_t | vbatscale |
uint8_t | vbatresdivval |
uint8_t | vbatresdivmultiplier |
uint8_t | vbatmaxcellvoltage |
uint8_t | vbatmincellvoltage |
uint8_t | vbatwarningcellvoltage |
int16_t | currentMeterScale |
uint16_t | currentMeterOffset |
current_sensor_type_t | currentMeterType |
uint8_t | multiwiiCurrentMeterOutput |
uint16_t | batteryCapacity |
#define VBAT_RESDIVMULTIPLIER_DEFAULT 1 |
#define VBAT_RESDIVVAL_DEFAULT 10 |
#define VBAT_SCALE_DEFAULT 110 |
#define VBAT_SCALE_MAX 255 |
#define VBAT_SCALE_MIN 0 |
struct battery_config __attribute__ | ( | (packed) | ) |
typedef __attribute__ |
uint16_t batteryCapacity |
uint16_t currentMeterOffset |
int16_t currentMeterScale |
current_sensor_type_t currentMeterType |
uint8_t multiwiiCurrentMeterOutput |
uint8_t vbatmaxcellvoltage |
uint8_t vbatmincellvoltage |
uint8_t vbatresdivmultiplier |
uint8_t vbatresdivval |
uint8_t vbatscale |
uint8_t vbatwarningcellvoltage |