isBattConnected()
function name is misleading
#32
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
I may have noticed a slight inconsistency with the function
isBattConnected()
. I agree that if the DPM is active, this implies the battery is connected, but from my understanding, we may have a connected battery, but no DPM active. This mean this function would say there is no battery connected, whereas there is in reality…DPM description (https://www.ti.com/lit/ds/symlink/bq24195l.pdf, 8.3.2.2):
SYSTEM_STATUS_REGISTER description (refer to https://www.ti.com/lit/ds/symlink/bq24195l.pdf, 8.5.1.9)
Also, if the function is misnamed, how can we know if the battery is connected, using the BQ24195?
Also, could you please clarify the difference between "01 – USB host, 10 – Adapter port, 11 – OTG”, in the register 08, bit 6 and 7?
The text was updated successfully, but these errors were encountered: