Function bal_exclude_neighbors(uint16_t, uint16_t, uint16_t)¶
- Defined in File bal.c
Function Documentation¶
-
uint16_t
bal_exclude_neighbors
(uint16_t indexes[], uint16_t count, uint16_t cells[])¶ Exclude adjacent cells to work around an hardware limitation on Fenice.
- Return
- amount of cells to be discharged
- Parameters
indexes
: output array of cell’s indexes that need to be dischargedcount
: amount of voltagescells
: output array of cell’s indexes that need to be discharged