#include <wg0x.h>
Public Member Functions | |
void | update (const WG0XSafetyDisableStatus &new_status, const WG0XDiagnosticsInfo &new_diagnostics_info) |
Use new updates WG0X diagnostics with new safety disable data. | |
WG0XDiagnostics () | |
Public Attributes | |
uint32_t | board_over_temp_total_ |
uint32_t | bridge_over_temp_total_ |
double | cached_zero_offset_ |
uint32_t | checksum_errors_ |
WG0XDiagnosticsInfo | diagnostics_info_ |
bool | first_ |
uint32_t | lock_errors_ |
uint32_t | operate_disable_total_ |
uint32_t | over_current_total_ |
WG0XSafetyDisableStatus | safety_disable_status_ |
uint32_t | safety_disable_total_ |
uint32_t | undervoltage_total_ |
bool | valid_ |
uint32_t | watchdog_disable_total_ |
double | zero_offset_ |
void WG0XDiagnostics::update | ( | const WG0XSafetyDisableStatus & | new_status, |
const WG0XDiagnosticsInfo & | new_diagnostics_info | ||
) |
uint32_t WG0XDiagnostics::checksum_errors_ |
uint32_t WG0XDiagnostics::lock_errors_ |
uint32_t WG0XDiagnostics::over_current_total_ |
uint32_t WG0XDiagnostics::undervoltage_total_ |