Zephyr Project API  3.4.0
A Scalable Open Source RTOS
fuel_gauge_set_property Struct Reference

#include <fuel_gauge.h>

Data Fields

fuel_gauge_prop_t property_type
 
int status
 
union {
   uint16_t   sbs_mfr_access_word
 
   uint16_t   sbs_remaining_capacity_alarm
 
   uint16_t   sbs_remaining_time_alarm
 
   uint16_t   sbs_mode
 
   int16_t   sbs_at_rate
 
value
 

Field Documentation

◆ property_type

fuel_gauge_prop_t fuel_gauge_set_property::property_type

Battery fuel gauge property to set

◆ sbs_at_rate

int16_t fuel_gauge_set_property::sbs_at_rate

FUEL_GAUGE_SBS_ATRATE

◆ sbs_mfr_access_word

uint16_t fuel_gauge_set_property::sbs_mfr_access_word

FUEL_GAUGE_SBS_MFR_ACCESS

◆ sbs_mode

uint16_t fuel_gauge_set_property::sbs_mode

FUEL_GAUGE_SBS_MODE

◆ sbs_remaining_capacity_alarm

uint16_t fuel_gauge_set_property::sbs_remaining_capacity_alarm

FUEL_GAUGE_SBS_REMAINING_CAPACITY_ALARM

◆ sbs_remaining_time_alarm

uint16_t fuel_gauge_set_property::sbs_remaining_time_alarm

FUEL_GAUGE_SBS_REMAINING_TIME_ALARM

◆ status

int fuel_gauge_set_property::status

Negative error status set by callee e.g. -ENOTSUP for an unsupported property

◆ 

union { ... } fuel_gauge_set_property::value

Property field for setting


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