foxBMS - Unit Tests  1.6.0
The foxBMS Unit Tests API Documentation
ADI_STATE_s Struct Reference

#include <adi_ades183x_defs.h>

Collaboration diagram for ADI_STATE_s:

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

Detailed Description

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.

Field Documentation

◆ currentString

uint8_t ADI_STATE_s::currentString

string currently being addressed

Definition at line 1206 of file adi_ades183x_defs.h.

◆ data


contains pointers to the local data buffer

Definition at line 1211 of file adi_ades183x_defs.h.

◆ firstDiagnosticMade

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.

◆ firstMeasurementMade

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.

◆ measurementStarted

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.

◆ redundantAuxiliaryChannel

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.

◆ revision

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.

◆ serialId

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.

◆ spiNumberInterfaces

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.

The documentation for this struct was generated from the following file: