foxBMS
1.6.0
The foxBMS Battery Management System API Documentation
|
#include <adi_ades183x_defs.h>
Data Fields | |
bool | measurementStarted |
bool | firstMeasurementMade |
bool | firstDiagnosticMade |
uint8_t | spiNumberInterfaces |
uint8_t | currentString |
uint8_t | redundantAuxiliaryChannel [BS_NR_OF_STRINGS] |
uint64_t | serialId [BS_NR_OF_STRINGS][ADI_N_ADI] |
uint8_t | revision [BS_NR_OF_STRINGS][ADI_N_ADI] |
ADI_DATA_s | data |
This structure contains all the variables relevant for the ades183x state machine. The user can get the current state of the ades183x state machine with this variable
Definition at line 1201 of file adi_ades183x_defs.h.
uint8_t ADI_STATE_s::currentString |
string currently being addressed
Definition at line 1206 of file adi_ades183x_defs.h.
ADI_DATA_s ADI_STATE_s::data |
contains pointers to the local data buffer
Definition at line 1211 of file adi_ades183x_defs.h.
bool ADI_STATE_s::firstDiagnosticMade |
flag indicates if all diagnostics made at least one time for all strings
Definition at line 1204 of file adi_ades183x_defs.h.
bool ADI_STATE_s::firstMeasurementMade |
flag indicates if first measurement cycle was completed for all strings
Definition at line 1203 of file adi_ades183x_defs.h.
bool ADI_STATE_s::measurementStarted |
flag indicates that the driver has received the request to start measurements
Definition at line 1202 of file adi_ades183x_defs.h.
uint8_t ADI_STATE_s::redundantAuxiliaryChannel[BS_NR_OF_STRINGS] |
auxiliary channel for which a redundant measurement must be made
Definition at line 1207 of file adi_ades183x_defs.h.
uint8_t ADI_STATE_s::revision[BS_NR_OF_STRINGS][ADI_N_ADI] |
revision of the IC
Definition at line 1210 of file adi_ades183x_defs.h.
uint64_t ADI_STATE_s::serialId[BS_NR_OF_STRINGS][ADI_N_ADI] |
serial ID of the IC
Definition at line 1209 of file adi_ades183x_defs.h.
uint8_t ADI_STATE_s::spiNumberInterfaces |
number of SPI channels that have to be measured
Definition at line 1205 of file adi_ades183x_defs.h.