|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Functions | |
| bool | isWatchdogTimeout (uint8_t fault) |
| bool | isBoostFault (uint8_t fault) |
| bool | isChargeFault (uint8_t fault) |
| uint8_t | getChargeFaultType (uint8_t fault) |
| bool | isChargeInputFault (uint8_t fault) |
| bool | isChargeThermalFault (uint8_t fault) |
| bool | isChargeTimerFault (uint8_t fault) |
| bool | isBatteryFault (uint8_t fault) |
| uint8_t | getNtcFault (uint8_t fault) |
Variables | |
| constexpr uint8_t | WATCHDOG_TIMEOUT = 0x80 |
| constexpr uint8_t | BOOST_FAULT = 0x40 |
| constexpr uint8_t | CHARGE_FAULT_MASK = 0x30 |
| constexpr uint8_t | CHARGE_FAULT_NORMAL = 0x00 |
| constexpr uint8_t | CHARGE_FAULT_INPUT = 0x10 |
| constexpr uint8_t | CHARGE_FAULT_THERMAL = 0x20 |
| constexpr uint8_t | CHARGE_FAULT_TIMER = 0x30 |
| constexpr uint8_t | BATTERY_FAULT = 0x08 |
| constexpr uint8_t | NTC_FAULT_MASK = 0x07 |
|
inline |
Definition at line 69 of file SY6970Core.hpp.
References CHARGE_FAULT_MASK.
|
inline |
Definition at line 89 of file SY6970Core.hpp.
References NTC_FAULT_MASK.
|
inline |
Definition at line 85 of file SY6970Core.hpp.
References BATTERY_FAULT.
|
inline |
Definition at line 61 of file SY6970Core.hpp.
References BOOST_FAULT.
|
inline |
Definition at line 65 of file SY6970Core.hpp.
References CHARGE_FAULT_MASK.
|
inline |
Definition at line 73 of file SY6970Core.hpp.
References CHARGE_FAULT_INPUT, and CHARGE_FAULT_MASK.
|
inline |
Definition at line 77 of file SY6970Core.hpp.
References CHARGE_FAULT_MASK, and CHARGE_FAULT_THERMAL.
|
inline |
Definition at line 81 of file SY6970Core.hpp.
References CHARGE_FAULT_MASK, and CHARGE_FAULT_TIMER.
|
inline |
Definition at line 57 of file SY6970Core.hpp.
References WATCHDOG_TIMEOUT.
|
constexpr |
Definition at line 54 of file SY6970Core.hpp.
Referenced by isBatteryFault().
|
constexpr |
Definition at line 48 of file SY6970Core.hpp.
Referenced by isBoostFault().
|
constexpr |
Definition at line 51 of file SY6970Core.hpp.
Referenced by isChargeInputFault().
|
constexpr |
Definition at line 49 of file SY6970Core.hpp.
Referenced by getChargeFaultType(), isChargeFault(), isChargeInputFault(), isChargeThermalFault(), and isChargeTimerFault().
|
constexpr |
Definition at line 50 of file SY6970Core.hpp.
|
constexpr |
Definition at line 52 of file SY6970Core.hpp.
Referenced by isChargeThermalFault().
|
constexpr |
Definition at line 53 of file SY6970Core.hpp.
Referenced by isChargeTimerFault().
|
constexpr |
Definition at line 55 of file SY6970Core.hpp.
Referenced by getNtcFault().
|
constexpr |
Definition at line 47 of file SY6970Core.hpp.
Referenced by isWatchdogTimeout().