Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fuel_gauge_prop_val Union Reference

Property field to value/type union. More...

#include <fuel_gauge.h>

Data Fields

int avg_current
 FUEL_GAUGE_AVG_CURRENT.
 
bool cutoff
 FUEL_GAUGE_CHARGE_CUTOFF.
 
int current
 FUEL_GAUGE_CURRENT.
 
uint32_t cycle_count
 FUEL_GAUGE_CYCLE_COUNT.
 
uint32_t flags
 FUEL_GAUGE_FLAGS.
 
uint32_t full_charge_capacity
 FUEL_GAUGE_FULL_CHARGE_CAPACITY.
 
uint32_t remaining_capacity
 FUEL_GAUGE_REMAINING_CAPACITY.
 
uint32_t runtime_to_empty
 FUEL_GAUGE_RUNTIME_TO_EMPTY.
 
uint32_t runtime_to_full
 FUEL_GAUGE_RUNTIME_TO_FULL.
 
uint16_t sbs_mfr_access_word
 FUEL_GAUGE_SBS_MFR_ACCESS.
 
uint8_t absolute_state_of_charge
 FUEL_GAUGE_ABSOLUTE_STATE_OF_CHARGE.
 
uint8_t relative_state_of_charge
 FUEL_GAUGE_RELATIVE_STATE_OF_CHARGE.
 
uint16_t temperature
 FUEL_GAUGE_TEMPERATURE.
 
int voltage
 FUEL_GAUGE_VOLTAGE.
 
uint16_t sbs_mode
 FUEL_GAUGE_SBS_MODE.
 
uint32_t chg_current
 FUEL_GAUGE_CHARGE_CURRENT.
 
uint32_t chg_voltage
 FUEL_GAUGE_CHARGE_VOLTAGE.
 
uint16_t fg_status
 FUEL_GAUGE_STATUS.
 
uint16_t design_cap
 FUEL_GAUGE_DESIGN_CAPACITY.
 
uint16_t design_volt
 FUEL_GAUGE_DESIGN_VOLTAGE.
 
int16_t sbs_at_rate
 FUEL_GAUGE_SBS_ATRATE.
 
uint16_t sbs_at_rate_time_to_full
 FUEL_GAUGE_SBS_ATRATE_TIME_TO_FULL.
 
uint16_t sbs_at_rate_time_to_empty
 FUEL_GAUGE_SBS_ATRATE_TIME_TO_EMPTY

 
bool sbs_at_rate_ok
 FUEL_GAUGE_SBS_ATRATE_OK.
 
uint16_t sbs_remaining_capacity_alarm
 FUEL_GAUGE_SBS_REMAINING_CAPACITY_ALARM.
 
uint16_t sbs_remaining_time_alarm
 FUEL_GAUGE_SBS_REMAINING_TIME_ALARM.
 

Detailed Description

Property field to value/type union.

Field Documentation

◆ absolute_state_of_charge

uint8_t fuel_gauge_prop_val::absolute_state_of_charge

FUEL_GAUGE_ABSOLUTE_STATE_OF_CHARGE.

◆ avg_current

int fuel_gauge_prop_val::avg_current

FUEL_GAUGE_AVG_CURRENT.

◆ chg_current

uint32_t fuel_gauge_prop_val::chg_current

FUEL_GAUGE_CHARGE_CURRENT.

◆ chg_voltage

uint32_t fuel_gauge_prop_val::chg_voltage

FUEL_GAUGE_CHARGE_VOLTAGE.

◆ current

int fuel_gauge_prop_val::current

FUEL_GAUGE_CURRENT.

◆ cutoff

bool fuel_gauge_prop_val::cutoff

FUEL_GAUGE_CHARGE_CUTOFF.

◆ cycle_count

uint32_t fuel_gauge_prop_val::cycle_count

FUEL_GAUGE_CYCLE_COUNT.

◆ design_cap

uint16_t fuel_gauge_prop_val::design_cap

FUEL_GAUGE_DESIGN_CAPACITY.

◆ design_volt

uint16_t fuel_gauge_prop_val::design_volt

FUEL_GAUGE_DESIGN_VOLTAGE.

◆ fg_status

uint16_t fuel_gauge_prop_val::fg_status

FUEL_GAUGE_STATUS.

◆ flags

uint32_t fuel_gauge_prop_val::flags

FUEL_GAUGE_FLAGS.

◆ full_charge_capacity

uint32_t fuel_gauge_prop_val::full_charge_capacity

FUEL_GAUGE_FULL_CHARGE_CAPACITY.

◆ relative_state_of_charge

uint8_t fuel_gauge_prop_val::relative_state_of_charge

FUEL_GAUGE_RELATIVE_STATE_OF_CHARGE.

◆ remaining_capacity

uint32_t fuel_gauge_prop_val::remaining_capacity

FUEL_GAUGE_REMAINING_CAPACITY.

◆ runtime_to_empty

uint32_t fuel_gauge_prop_val::runtime_to_empty

FUEL_GAUGE_RUNTIME_TO_EMPTY.

◆ runtime_to_full

uint32_t fuel_gauge_prop_val::runtime_to_full

FUEL_GAUGE_RUNTIME_TO_FULL.

◆ sbs_at_rate

int16_t fuel_gauge_prop_val::sbs_at_rate

FUEL_GAUGE_SBS_ATRATE.

◆ sbs_at_rate_ok

bool fuel_gauge_prop_val::sbs_at_rate_ok

FUEL_GAUGE_SBS_ATRATE_OK.

◆ sbs_at_rate_time_to_empty

uint16_t fuel_gauge_prop_val::sbs_at_rate_time_to_empty

FUEL_GAUGE_SBS_ATRATE_TIME_TO_EMPTY

◆ sbs_at_rate_time_to_full

uint16_t fuel_gauge_prop_val::sbs_at_rate_time_to_full

FUEL_GAUGE_SBS_ATRATE_TIME_TO_FULL.

◆ sbs_mfr_access_word

uint16_t fuel_gauge_prop_val::sbs_mfr_access_word

FUEL_GAUGE_SBS_MFR_ACCESS.

◆ sbs_mode

uint16_t fuel_gauge_prop_val::sbs_mode

FUEL_GAUGE_SBS_MODE.

◆ sbs_remaining_capacity_alarm

uint16_t fuel_gauge_prop_val::sbs_remaining_capacity_alarm

FUEL_GAUGE_SBS_REMAINING_CAPACITY_ALARM.

◆ sbs_remaining_time_alarm

uint16_t fuel_gauge_prop_val::sbs_remaining_time_alarm

FUEL_GAUGE_SBS_REMAINING_TIME_ALARM.

◆ temperature

uint16_t fuel_gauge_prop_val::temperature

FUEL_GAUGE_TEMPERATURE.

◆ voltage

int fuel_gauge_prop_val::voltage

FUEL_GAUGE_VOLTAGE.


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