|
| uint16_t | esphome::sy6970::vbus_voltage_mv (uint8_t reg) |
| | VBUS voltage in mV from REG11; 0 while VBUS_GD (bit 7) shows no input, as the ADC then reads its 2.6 V offset.
|
| |
| bool | esphome::sy6970::is_charging (uint8_t charge_status) |
| |
| | esphome::sy6970::PROGMEM_STRING_TABLE (BusStatusStrings, "No Input", "USB SDP", "USB CDP", "USB DCP", "HVDCP", "Adapter", "Non-Standard Adapter", "OTG") |
| |
| | esphome::sy6970::PROGMEM_STRING_TABLE (ChargeStatusStrings, "Not Charging", "Pre-charge", "Fast Charge", "Charge Done") |
| |
| | esphome::sy6970::PROGMEM_STRING_TABLE (NtcStatusStrings, "Normal", "Unknown", "Warm", "Cool", "Unknown", "Cold", "Hot", "Unknown") |
| |