| 225 | } |
| 226 | |
| 227 | uint16_t AXP192::GetVusbinData(void) { |
| 228 | uint16_t vin = 0; |
| 229 | uint8_t buf[2]; |
| 230 | ReadBuff(0x5a, 2, buf); |
| 231 | vin = ((buf[0] << 4) + buf[1]); // V |
| 232 | return vin; |
| 233 | } |
| 234 | |
| 235 | uint16_t AXP192::GetIusbinData(void) { |
| 236 | uint16_t iin = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected