| 392 | } |
| 393 | |
| 394 | float AXP192::GetBatChargeCurrent() { |
| 395 | float ADCLSB = 0.5; |
| 396 | uint16_t ReData = Read12Bit(0x7A); |
| 397 | return ReData * ADCLSB; |
| 398 | } |
| 399 | float AXP192::GetAPSVoltage() { |
| 400 | float ADCLSB = 1.4 / 1000.0; |
| 401 | uint16_t ReData = Read12Bit(0x7E); |
nothing calls this directly
no outgoing calls
no test coverage detected