Cargo Features

[dependencies]
l9961 = { version = "0.0.1", default-features = false, features = ["defmt", "4_cells", "5_cells", "ntc", "coulomb_counting"] }
default = 5_cells, coulomb_counting, defmt, ntc

These default features are set whenever l9961 is added without default-features = false somewhere in the dependency tree.

defmt default

Enables defmt ^0.3

4_cells 5_cells

Hardware features
"default" is 3 cells

Affects measurement::Measurement.cell_4

5_cells default = 4_cells

Affects measurement::Measurement.cell_5

ntc default

Add NTC temperature sensing functionality to ll9961

Affects config::Config.ntc_thresholds, measurement::Measurement.ntc_mv

coulomb_counting default

Enable coulomb counting

Affects measurement::Measurement.cc_inst_meas, measurement::Measurement.cc_acc, measurement::Measurement.cc_samples