zephyr/drivers/fuel_gauge/max17048
Aaron Massey 12cbfcf397 fuel_gauge: Repl property struct w/ union
Based on review of the similar charger driver API, it's been demonstrated
from the community that embedding a per value property type when fetching
properties. Separating off the property types from the property values
themselves also allow an array of property types to declared as static
const.

Break up fuel_gauge_property struct into a fuel_gauge_prop_val union and a
fuel_gauge_prop_t property type as inputs into fuel gauge API functions.

Signed-off-by: Aaron Massey <aaronmassey@google.com>
2023-09-27 12:07:59 +02:00
..
CMakeLists.txt
emul_max17048.c i2c: use device instead of name for i2c dump messages 2023-09-06 17:54:53 +02:00
Kconfig
max17048.c fuel_gauge: Repl property struct w/ union 2023-09-27 12:07:59 +02:00
max17048.h