Home
last modified time | relevance | path

Searched refs:cutoff_payload (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Demul_sbs_gauge.c62 uint16_t cutoff_payload[SBS_GAUGE_CUTOFF_PAYLOAD_MAX_SIZE]; member
72 __ASSERT_NO_MSG(ARRAY_SIZE(cfg->cutoff_payload) > 0); in emul_sbs_gauge_maybe_do_battery_cutoff()
79 uint16_t target_payload_elem_val = cfg->cutoff_payload[data->cutoff_writes]; in emul_sbs_gauge_maybe_do_battery_cutoff()
83 __ASSERT_NO_MSG(data->cutoff_writes <= ARRAY_SIZE(cfg->cutoff_payload)); in emul_sbs_gauge_maybe_do_battery_cutoff()
89 if (data->cutoff_writes == ARRAY_SIZE(cfg->cutoff_payload)) { in emul_sbs_gauge_maybe_do_battery_cutoff()
373 .cutoff_payload = DT_PROP_OR(DT_DRV_INST(n), battery_cutoff_payload, {}), \