foxBMS-UnitTests  1.0.0
The foxBMS Unit Tests API Documentation
ltc_defs.h
Go to the documentation of this file.
1 /**
2  *
3  * @copyright © 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der
4  * angewandten Forschung e.V. All rights reserved.
5  *
6  * BSD 3-Clause License
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions are met:
9  * 1. Redistributions of source code must retain the above copyright notice,
10  * this list of conditions and the following disclaimer.
11  * 2. Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the distribution.
14  * 3. Neither the name of the copyright holder nor the names of its
15  * contributors may be used to endorse or promote products derived from
16  * this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28  * POSSIBILITY OF SUCH DAMAGE.
29  *
30  * We kindly request you to use one or more of the following phrases to refer
31  * to foxBMS in your hardware, software, documentation or advertising
32  * materials:
33  *
34  * ″This product uses parts of foxBMS®″
35  *
36  * ″This product includes parts of foxBMS®″
37  *
38  * ″This product is derived from foxBMS®″
39  *
40  */
41 
42 /**
43  * @file ltc_defs.h
44  * @author foxBMS Team
45  * @date 2015-09-01 (date of creation)
46  * @updated 2015-09-01 (date of last update)
47  * @ingroup DRIVERS
48  * @prefix LTC
49  *
50  * @brief Headers for the driver for the LTC monitoring chip.
51  *
52  */
53 
54 #ifndef FOXBMS__LTC_DEFS_H_
55 #define FOXBMS__LTC_DEFS_H_
56 
57 /*========== Includes =======================================================*/
58 #include "general.h"
59 
60 #include "ltc_cfg.h"
61 
62 #include "database.h"
63 #include "spi.h"
64 
65 /*========== Macros and Definitions =========================================*/
66 
67 /** error table for the LTC driver */
68 typedef struct {
69  uint8_t PEC_valid[BS_NR_OF_STRINGS][LTC_N_LTC]; /*!< */
70  uint8_t mux0[BS_NR_OF_STRINGS][LTC_N_LTC]; /*!< */
71  uint8_t mux1[BS_NR_OF_STRINGS][LTC_N_LTC]; /*!< */
72  uint8_t mux2[BS_NR_OF_STRINGS][LTC_N_LTC]; /*!< */
73  uint8_t mux3[BS_NR_OF_STRINGS][LTC_N_LTC]; /*!< */
75 
76 /** struct for storing information on the openwire detection */
77 typedef struct {
78  int16_t openWirePup[BS_NR_OF_STRINGS][BS_NR_OF_BAT_CELLS];
79  int16_t openWirePdown[BS_NR_OF_STRINGS][BS_NR_OF_BAT_CELLS];
80  int32_t openWireDelta[BS_NR_OF_STRINGS][BS_NR_OF_BAT_CELLS];
82 
83 /*========== Extern Constant and Variable Declarations ======================*/
84 
85 /**
86  * Voltage measurement mode
87  * DCP0 means discharged not permitted during measurement
88  * DCP1 means discharged permitted during measurement
89  * Also DCP0 means balancing is interrupted when a cell is measured.
90  */
91 typedef enum {
92  LTC_ADCMODE_UNDEFINED, /*!< ADC measurement mode is not defined */
93  LTC_ADCMODE_FAST_DCP0, /*!< ADC measurement mode: Fast with DCP0 */
94  LTC_ADCMODE_NORMAL_DCP0, /*!< ADC measurement mode: Normal with DCP0 */
95  LTC_ADCMODE_FILTERED_DCP0, /*!< ADC measurement mode: Filtered with DCP0 */
96  LTC_ADCMODE_FAST_DCP1, /*!< ADC measurement mode: Fast with DCP1 */
97  LTC_ADCMODE_NORMAL_DCP1, /*!< ADC measurement mode: Normal with DCP1 */
98  LTC_ADCMODE_FILTERED_DCP1, /*!< ADC measurement mode: Filtered with DCP1 */
100 
101 /** Number of measured channels */
102 typedef enum {
103  LTC_ADCMEAS_UNDEFINED, /*!< not defined */
104  LTC_ADCMEAS_ALLCHANNEL, /*!< all ADC channels are measured */
105  LTC_ADCMEAS_SINGLECHANNEL_GPIO1, /*!< only a single ADC channel (GPIO1) is measured */
106  LTC_ADCMEAS_SINGLECHANNEL_GPIO2, /*!< only a single ADC channel (GPIO2) is measured */
107  LTC_ADCMEAS_SINGLECHANNEL_GPIO3, /*!< only a single ADC channel (GPIO3) is measured */
108  LTC_ADCMEAS_SINGLECHANNEL_GPIO4, /*!< only a single ADC channel (GPIO4) is measured */
109  LTC_ADCMEAS_SINGLECHANNEL_GPIO5, /*!< only a single ADC channel (GPIO5) is measured */
110  LTC_ADCMEAS_SINGLECHANNEL_TWOCELLS, /*!< only two cell voltages are measured */
111  LTC_ADCMEAS_ALLCHANNEL_SC, /*!< all ADC channels + sum of cells are measured */
113 
114 /** States of the LTC state machine */
115 typedef enum {
116  /* Init-Sequence */
120  LTC_STATEMACH_INITIALIZED, /*!< LTC is initialized */
121  /* Voltage Measurement Cycle */
125  LTC_STATEMACH_MUXMEASUREMENT, /*!< Mux (Temperature and Balancing) Measurement */
132  LTC_STATEMACH_USER_IO_CONTROL, /*!< Control of the user port expander */
133  LTC_STATEMACH_USER_IO_FEEDBACK, /*!< Control of the user port expander */
134  LTC_STATEMACH_EEPROM_READ, /*!< Control of the external EEPROM */
135  LTC_STATEMACH_EEPROM_WRITE, /*!< Control of the external EEPROM */
136  LTC_STATEMACH_TEMP_SENS_READ, /*!< Control of the external temperature sensor */
143  LTC_STATEMACH_EEPROM_READ_UID, /*!< Control of the external EEPROM */
144  LTC_STATEMACH_USER_IO_CONTROL_TI, /*!< Control of the user port expander */
145  LTC_STATEMACH_USER_IO_FEEDBACK_TI, /*!< Control of the user port expander */
148  LTC_STATEMACH_UNDEFINED, /*!< undefined state */
149  LTC_STATEMACH_RESERVED1, /*!< reserved state */
150  LTC_STATEMACH_ERROR_SPIFAILED, /*!< Error-State: SPI error */
151  LTC_STATEMACH_ERROR_PECFAILED, /*!< Error-State: PEC error */
152  LTC_STATEMACH_ERROR_MUXFAILED, /*!< Error-State: multiplexer error */
153  LTC_STATEMACH_ERROR_INITIALIZATION, /*!< Error-State: initialization error */
155 
156 /** General substates */
157 typedef enum {
158  LTC_ENTRY, /*!< Substate entry state */
159  LTC_ERROR_ENTRY, /*!< Substate entry error */
160  LTC_ERROR_PROCESSED, /*!< Substate error processed */
162 
163 /** Substates for the uninitialized state */
164 typedef enum {
165  LTC_ENTRY_UNINITIALIZED, /*!< Initialize-sequence */
167 
168 /** Substates for the initialization state */
169 typedef enum {
170  /* Init-Sequence */
179 
180 /** Substates for the uninitialized state */
181 typedef enum {
184 
185 /** Substates for the read voltage state */
186 typedef enum {
187  /* Init-Sequence */
204 
205 /** Substates for the cell voltage + SC measurement state */
206 typedef enum {
211 
212 /** Substates for the balance control state */
213 typedef enum {
214  /* Init-Sequence */
224  LTC_STATEMACH_MUXMEASUREMENT_CONFIG, /*!< Configuration of the multiplexers */
228 
229 /** Substates for open-wire check */
230 typedef enum {
237 
238 /** Substates for diagnosis state */
239 typedef enum {
248 
249 /** Substates for ADC accuracy check */
250 typedef enum {
258 
259 /** Substates for digital filter check */
260 typedef enum {
277 
278 /** Substates for the user IO control state */
279 typedef enum {
287 
288 /** Substates for the user IO control state, TI port expander */
289 typedef enum {
302 
303 /** Substates for the EEPROM control state */
304 typedef enum {
318 
319 /** Substates for the temperature sensor control state */
320 typedef enum {
330 
331 /** Substates for the multiplexer measurement configuration state */
332 typedef enum {
333  /* Init-Sequence */
342 
343 /** Substates for the all-GPIO multiplexer measurement state */
344 typedef enum {
345  /* Init-Sequence */
352 
353 /** Substates for the single GPIO multiplexer measurement state */
354 typedef enum {
355  /* Init-Sequence */
359 
360 /** State requests for the LTC statemachine */
361 typedef enum {
390 
391 /**
392  * Possible return values when state requests are made to the LTC statemachine
393  */
394 typedef enum {
395  LTC_OK, /*!< LTC --> ok */
396  LTC_BUSY_OK, /*!< LTC under load --> ok */
397  LTC_REQUEST_PENDING, /*!< requested to be executed */
398  LTC_ILLEGAL_REQUEST, /*!< Request can not be executed */
399  LTC_SPI_ERROR, /*!< Error state: Source: SPI */
400  LTC_PEC_ERROR, /*!< Error state: Source: PEC */
401  LTC_MUX_ERROR, /*!< Error state: Source: MUX */
402  LTC_INIT_ERROR, /*!< Error state: Source: Initialization */
403  LTC_OK_FROM_ERROR, /*!< Return from error --> ok */
404  LTC_ERROR, /*!< General error state */
405  LTC_ALREADY_INITIALIZED, /*!< Initialization of LTC already finished */
406  LTC_ILLEGAL_TASK_TYPE, /*!< Illegal */
408 
409 /**
410  * Variable to define if the LTC should measure are restart the initialization sequence
411  */
412 typedef enum {
413  LTC_HAS_TO_MEASURE, /*!< measurement state of the LTC */
414  LTC_HAS_TO_REINIT, /*!< re-initialization state of the LTC */
415  LTC_HAS_TO_MEASURE_2CELLS, /*!< measurement state of the LTC */
417 
418 /** configuration of the mux channels */
419 typedef struct {
420  uint8_t muxID; /*!< multiplexer ID 0 - 3 */
421  uint8_t muxCh; /*!< multiplexer channel 0 - 7 */
423 
424 /** struct that holds the multiplexer sequence */
425 typedef struct {
426  uint8_t nr_of_steps; /*!< number of steps in the multiplexer sequence */
427  LTC_MUX_CH_CFG_s *seqptr; /*!< pointer to the multiplexer sequence */
429 
430 /** This struct contains pointer to used data buffers */
431 typedef struct {
433  uint16_t *txBuffer;
434  uint16_t *rxBuffer;
435  uint32_t frameLength;
443  uint16_t *usedCellIndex;
446 
448  uint16_t *GPIOVoltages; /* LTC2_NUMBER_OF_GPIOS * NR_OF_LTCs */
449  uint16_t *valid_GPIOPECs; /* NR_OF_LTCs */
450 
451 } LTC_DATAPTR_s;
452 
453 /** This struct contains error counter and pointer to used error buffers */
454 typedef struct {
455  uint32_t *errPECCnt; /* array length: Number of used LTCs */
456  uint32_t *errSPICnt; /* array length: Number of used LTCs */
457  uint8_t *ltcStatus; /* array length: Number of used LTCs */
458  uint8_t errPECRetryCnt;
459  uint8_t errSPIRetryCnt;
460  uint8_t errOccurred;
462 } LTC_ERROR_s;
463 
464 /**
465  * This struct contains the measurement configuration for the LTC
466  * Measurement is deactivated with value = LTC_STATE_NO_REQUEST
467  */
468 typedef struct {
469  LTC_STATE_REQUEST_e measVoltage; /* activated = LTC_STATE_VOLTAGEMEASUREMENT_REQUEST */
470  LTC_STATE_REQUEST_e measVoltage2Cells; /* activated = LTC_STATE_VOLTAGEMEASUREMENT_2CELLS_REQUEST */
471  LTC_STATE_REQUEST_e measVoltageSumofCells; /* activated = LTC_STATE_VOLTAGEMEASUREMENT_SC_REQUEST */
472  LTC_STATE_REQUEST_e measMux; /* activated = LTC_STATE_MUXMEASUREMENT_REQUEST */
473  LTC_STATE_REQUEST_e balancing; /* activated = LTC_STATE_BALANCECONTROL_REQUEST */
474  LTC_STATE_REQUEST_e balancing_feedback; /* activated = LTC_STATE_BALANCEFEEDBACK_REQUEST */
475  LTC_STATE_REQUEST_e measAllGPIO; /* activated = LTC_STATE_ALLGPIOMEASUREMENT_REQUEST */
476  LTC_STATE_REQUEST_e userIO; /* activated = LTC_STATE_USER_IO_REQUEST */
477  LTC_STATE_REQUEST_e readEEPROM; /* activated = LTC_STATE_EEPROM_READ_UID_REQUEST */
478  LTC_STATE_REQUEST_e measTemperature; /* activated = LTC_STATE_TEMP_SENS_READ_REQUEST */
479  LTC_STATE_REQUEST_e openWireCheck; /* activated = LTC_STATE_OPENWIRE_CHECK_REQUEST */
480  LTC_STATE_REQUEST_e deviceParameterCheck; /* activated = LTC_STATEMACH_DEVICE_PARAMETER_REQUEST */
481  LTC_STATE_REQUEST_e accuracyADCverification; /* activated = LTC_STATEMACH_ADC_ACCURACY_REQUEST */
482  LTC_STATE_REQUEST_e digitalFilterCheck; /* activated = LTC_STATEMACH_DIGITAL_FILTER_REQUEST */
483  uint8_t taskCycleCnt; /* holds the current state machine index */
484  uint8_t numberActiveOfStates; /* number of active states */
485  uint8_t activeStates[12]; /* array holds the different substates that are executed one after another */
486  /* maximum number of states : 12 */
487 } LTC_CONFIG_s;
488 
489 /**
490  *
491  */
492 typedef enum {
497 
498 /**
499  * TI port expander IO direction (input or output).
500  * Here the value in the enum is needed because it is written in
501  * a configuration register.
502  */
503 typedef enum {
504  LTC_PORT_EXPANDER_TI_OUTPUT = 0x0, /* specific value needed */
505  LTC_PORT_EXPANDER_TI_INPUT = 0xFF, /* specific value needed */
507 
508 /** This structure contains a state request and the addressed string. */
509 typedef struct {
511  uint8_t string; /*!< */
512 } LTC_REQUEST_s;
513 
514 /**
515  * This structure contains all the variables relevant for the LTC state machine.
516  * The user can get the current state of the LTC state machine with this variable
517  */
518 typedef struct {
519  uint16_t timer; /*!< time in ms before the state machine processes the next state, e.g. in counts of 1ms */
520  LTC_TASK_TYPE_e taskMode; /*!< current task of the state machine */
521  LTC_REQUEST_s statereq; /*!< current state request made to the state machine */
522  LTC_STATEMACH_e state; /*!< state of Driver State Machine */
523  uint8_t substate; /*!< current substate of the state machine */
524  LTC_STATEMACH_e laststate; /*!< previous state of the state machine */
525  uint8_t lastsubstate; /*!< previous substate of the state machine */
526  LTC_ADCMODE_e adcMode; /*!< current LTC ADCmeasurement mode (fast, normal or filtered) */
527  LTC_ADCMODE_e voltMeasMode; /*!< current LTC ADCmeasurement mode (fast, normal or filtered) */
528  LTC_ADCMODE_e gpioMeasMode; /*!< current LTC ADCmeasurement mode (fast, normal or filtered) */
529  LTC_ADCMODE_e adcModereq; /*!< requested LTC ADCmeasurement mode (fast, normal or filtered) */
531  adcMeasCh; /*!< current number of channels measured for GPIOS (one at a time for multiplexers or all five GPIOs) */
533  adcMeasChreq; /*!< requested number of channels measured for GPIOS (one at a time for multiplexers or all five GPIOs) */
534  uint8_t
535  numberOfMeasuredMux; /*!< number of multiplexer channels measured by the LTC chip before a voltage measurement is made */
536  uint32_t ErrPECCounter; /*!< counts the number of times there was A PEC (CRC) error during communication with LTC */
537  uint8_t
538  ErrRetryCounter; /*!< counts how many times the drivers retried to communicate with LTC in case of a communication error */
539  uint32_t ErrRequestCounter; /*!< counts the number of illegal requests to the LTC state machine */
540  uint8_t triggerentry; /*!< counter for re-entrance protection (function running flag) */
541  uint32_t
542  commandDataTransferTime; /*!< time needed for sending an instruction to the LTC, followed by data transfer from the LTC */
543  uint32_t commandTransferTime; /*!< time needed for sending an instruction to the LTC */
544  uint32_t
545  gpioClocksTransferTime; /*!< time needed for sending 72 clock signal to the LTC, used for I2C communication */
546  uint32_t VoltageSampleTime; /*!< time stamp at which the cell voltage were measured */
547  uint32_t muxSampleTime; /*!< time stamp at which a multiplexer input was measured */
548  uint8_t instanceID; /*!< number to distinguish between different ltc states, starting with 0,1,2,3....8 */
549  uint8_t nrBatcellsPerModule; /*!< number of cells per module */
550  uint8_t busSize; /*!< number of connected LTCs to parallel bus network */
551  LTC_ERROR_s errStatus; /*!< contains pointer to local error buffer and error indicators */
552  uint8_t *ltcIDs; /*!< array with LTC IDs */
553  uint8_t cntDeviceRD; /*!< current Index of array ltcIDs to determine device ID */
554  uint32_t ctrlCallCnt; /*!< counts the LTC2_CTRL calls */
555  uint8_t taskCycleCnt; /*!< counts the current task cycle */
557  reusageMeasurementMode; /*!< flag that indicates if currently any state is reused i.e. cell voltage measurement */
558  LTC_CONFIG_s ltcConfig; /*!< struct that holds the measurement configuration of the ltc network */
559  bool first_measurement_made; /*!< flag that indicates if the first measurement cycle was completed */
561  ltc_muxcycle_finished; /*!< flag that indicates if the measurement sequence of the multiplexers is finished */
562  STD_RETURN_TYPE_e check_spi_flag; /*!< indicates if interrupt flag or timer must be considered */
563  STD_RETURN_TYPE_e balance_control_done; /*!< indicates if balance control was done */
564  uint8_t resendCommandCounter; /*!< counter if commandy should be send multiple times e.g. ADOW command */
565  bool transmit_ongoing; /*!< SPI transmissioncurrently ongoing */
566  STD_RETURN_TYPE_e dummyByte_ongoing; /*!< SPI dummy byte is currently transmitted */
567  SPI_INTERFACE_CONFIG_s *spiSeqPtr; /*!< pointer to the SPI sequence to be measured */
568  SPI_INTERFACE_CONFIG_s *spiSeqEndPtr; /*!< pointer to the end of the SPI sequence */
569  uint8_t spiNumberInterfaces; /*!< number of SPI channels that have to be measured */
570  uint8_t currentString; /*!< string currently being addressed */
571  uint8_t requestedString; /*!< string addressed by the current state request */
572  LTC_DATAPTR_s ltcData; /*!< contains pointers to the local data buffer */
573  LTC_MUX_CH_CFG_s *muxmeas_seqptr
574  [BS_NR_OF_STRINGS]; /*!< pointer to the multiplexer sequence to be measured (contains a list of elements [multiplexer id, multiplexer channels]) (1,-1)...(3,-1),(0,1),...(0,7) */
575  LTC_MUX_CH_CFG_s *muxmeas_seqendptr
576  [BS_NR_OF_STRINGS]; /*!< point to the end of the multiplexer sequence; pointer to ending point of sequence */
577  uint8_t muxmeas_nr_end
578  [BS_NR_OF_STRINGS]; /*!< number of multiplexer channels that have to be measured; end number of sequence, where measurement is finished*/
579  uint8_t configuration[6]; /*!< holds the configuration of the ltc (configuration register) */
580 
581 } LTC_STATE_s;
582 
583 /*========== Extern Function Prototypes =====================================*/
584 
585 /*========== Externalized Static Functions Prototypes (Unit Test) ===========*/
586 
587 #endif /* FOXBMS__LTC_DEFS_H_ */
LTC_SPI_ERROR
@ LTC_SPI_ERROR
Definition: ltc_defs.h:399
LTC_DATAPTR_s::slaveControl
DATA_BLOCK_SLAVE_CONTROL_s * slaveControl
Definition: ltc_defs.h:440
LTC_USER_IO_SEND_CLOCK_STCOMM_TI
@ LTC_USER_IO_SEND_CLOCK_STCOMM_TI
Definition: ltc_defs.h:294
LTC_TEMP_SENS_FINISHED
@ LTC_TEMP_SENS_FINISHED
Definition: ltc_defs.h:328
LTC_READ_AUXILIARY_REGISTER_A_RAUXA_MUXMEASUREMENT
@ LTC_READ_AUXILIARY_REGISTER_A_RAUXA_MUXMEASUREMENT
Definition: ltc_defs.h:356
LTC_STATE_USER_IO_WRITE_REQUEST_TI
@ LTC_STATE_USER_IO_WRITE_REQUEST_TI
Definition: ltc_defs.h:366
LTC_DATAPTR_s::balancingControl
DATA_BLOCK_BALANCING_CONTROL_s * balancingControl
Definition: ltc_defs.h:439
LTC_ADCMEAS_ALLCHANNEL_SC
@ LTC_ADCMEAS_ALLCHANNEL_SC
Definition: ltc_defs.h:111
LTC_STATEMACH_STARTMEAS
@ LTC_STATEMACH_STARTMEAS
Definition: ltc_defs.h:123
LTC_EXIT_DIGITAL_FILTER_CHECK
@ LTC_EXIT_DIGITAL_FILTER_CHECK
Definition: ltc_defs.h:275
LTC_STATEMACH_e
LTC_STATEMACH_e
Definition: ltc_defs.h:115
LTC_REQUEST_ADC1_VERIFICATION
@ LTC_REQUEST_ADC1_VERIFICATION
Definition: ltc_defs.h:251
LTC_ERROR_ENTRY
@ LTC_ERROR_ENTRY
Definition: ltc_defs.h:159
LTC_STATEMACH_INITIALIZED_SUB_e
LTC_STATEMACH_INITIALIZED_SUB_e
Definition: ltc_defs.h:181
BS_NR_OF_BAT_CELLS
#define BS_NR_OF_BAT_CELLS
Definition: battery_system_cfg.h:156
LTC_STATE_s::spiNumberInterfaces
uint8_t spiNumberInterfaces
Definition: ltc_defs.h:569
LTC_STATEMACH_BALANCECONTROL_SUB
LTC_STATEMACH_BALANCECONTROL_SUB
Definition: ltc_defs.h:213
LTC_STATEMACH_MUXMEASUREMENT_CONFIG_SUB_e
LTC_STATEMACH_MUXMEASUREMENT_CONFIG_SUB_e
Definition: ltc_defs.h:332
general.h
TODO.
LTC_STATE_VOLTAGEMEASUREMENT_REQUEST
@ LTC_STATE_VOLTAGEMEASUREMENT_REQUEST
Definition: ltc_defs.h:375
DATA_BLOCK_OPENWIRE
Definition: database_cfg.h:296
LTC_STATE_s::first_measurement_made
bool first_measurement_made
Definition: ltc_defs.h:559
LTC_DIGITAL_FILTER_SELF_TEST_2_AUX
@ LTC_DIGITAL_FILTER_SELF_TEST_2_AUX
Definition: ltc_defs.h:271
LTC_EEPROM_SEND_CLOCK_STCOMM4
@ LTC_EEPROM_SEND_CLOCK_STCOMM4
Definition: ltc_defs.h:313
LTC_CONFIG_s::digitalFilterCheck
LTC_STATE_REQUEST_e digitalFilterCheck
Definition: ltc_defs.h:482
LTC_DATAPTR_s::openWire
DATA_BLOCK_OPEN_WIRE_s * openWire
Definition: ltc_defs.h:442
LTC_DATAPTR_s::openWireDetection
LTC_OPENWIRE_DETECTION_s * openWireDetection
Definition: ltc_defs.h:444
LTC_ADCMODE_FILTERED_DCP1
@ LTC_ADCMODE_FILTERED_DCP1
Definition: ltc_defs.h:98
LTC_STATE_TEMP_SENS_READ_REQUEST
@ LTC_STATE_TEMP_SENS_READ_REQUEST
Definition: ltc_defs.h:371
LTC_READ_ADC2_VERIFICATION_VALUE
@ LTC_READ_ADC2_VERIFICATION_VALUE
Definition: ltc_defs.h:255
LTC_STATEMACH_DIGITAL_FILTER_REQUEST
@ LTC_STATEMACH_DIGITAL_FILTER_REQUEST
Definition: ltc_defs.h:387
LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_A_2
@ LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_A_2
Definition: ltc_defs.h:272
LTC_ERROR_s
Definition: ltc_defs.h:454
LTC_CONFIG_s::openWireCheck
LTC_STATE_REQUEST_e openWireCheck
Definition: ltc_defs.h:479
LTC_STATEMACH_ADC_ACCURACY
@ LTC_STATEMACH_ADC_ACCURACY
Definition: ltc_defs.h:140
LTC_EXIT_BALANCECONTROL
@ LTC_EXIT_BALANCECONTROL
Definition: ltc_defs.h:221
LTC_STATE_EEPROM_WRITE_REQUEST
@ LTC_STATE_EEPROM_WRITE_REQUEST
Definition: ltc_defs.h:369
LTC_REQUEST_s::request
LTC_STATE_REQUEST_e request
Definition: ltc_defs.h:510
LTC_ADCMEAS_UNDEFINED
@ LTC_ADCMEAS_UNDEFINED
Definition: ltc_defs.h:103
LTC_STATEMACH_READMUXMEASUREMENT
@ LTC_STATEMACH_READMUXMEASUREMENT
Definition: ltc_defs.h:225
LTC_TEMP_SENS_READ_I2C_TRANSMISSION_RESULT_RDCOMM
@ LTC_TEMP_SENS_READ_I2C_TRANSMISSION_RESULT_RDCOMM
Definition: ltc_defs.h:326
LTC_DATAPTR_s::frameLength
uint32_t frameLength
Definition: ltc_defs.h:435
LTC_REQUEST_ADC2_VERIFICATION
@ LTC_REQUEST_ADC2_VERIFICATION
Definition: ltc_defs.h:254
LTC_STATE_MUXMEASUREMENT_REQUEST
@ LTC_STATE_MUXMEASUREMENT_REQUEST
Definition: ltc_defs.h:380
LTC_PORT_EXPANDER_TI_INPUT
@ LTC_PORT_EXPANDER_TI_INPUT
Definition: ltc_defs.h:505
LTC_STATE_EEPROM_READ_REQUEST
@ LTC_STATE_EEPROM_READ_REQUEST
Definition: ltc_defs.h:368
LTC_STATEMACH_TEMP_SENS_READ_e
LTC_STATEMACH_TEMP_SENS_READ_e
Definition: ltc_defs.h:320
LTC_STATEMACH_DIAGNOSIS_SUB_e
LTC_STATEMACH_DIAGNOSIS_SUB_e
Definition: ltc_defs.h:239
LTC_DATAPTR_s::valid_GPIOPECs
uint16_t * valid_GPIOPECs
Definition: ltc_defs.h:449
LTC_ADCMEAS_CHAN_e
LTC_ADCMEAS_CHAN_e
Definition: ltc_defs.h:102
LTC_CONFIG_s::userIO
LTC_STATE_REQUEST_e userIO
Definition: ltc_defs.h:476
LTC_READ_AUXILIARY_REGISTER_D_RDAUXD
@ LTC_READ_AUXILIARY_REGISTER_D_RDAUXD
Definition: ltc_defs.h:201
LTC_INIT_ERROR
@ LTC_INIT_ERROR
Definition: ltc_defs.h:402
LTC_READ_VOLTAGES_PULLDOWN_OPENWIRE_CHECK
@ LTC_READ_VOLTAGES_PULLDOWN_OPENWIRE_CHECK
Definition: ltc_defs.h:234
LTC_USER_IO_SAVE_DATA
@ LTC_USER_IO_SAVE_DATA
Definition: ltc_defs.h:284
LTC_STATE_VOLTAGEMEASUREMENT_SC_REQUEST
@ LTC_STATE_VOLTAGEMEASUREMENT_SC_REQUEST
Definition: ltc_defs.h:377
LTC_PORT_EXPANDER_TI_DIRECTION_e
LTC_PORT_EXPANDER_TI_DIRECTION_e
Definition: ltc_defs.h:503
LTC_EEPROM_SEND_CLOCK_STCOMM3
@ LTC_EEPROM_SEND_CLOCK_STCOMM3
Definition: ltc_defs.h:312
LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI
@ LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI
Definition: ltc_defs.h:295
LTC_EEPROM_SAVE_READ
@ LTC_EEPROM_SAVE_READ
Definition: ltc_defs.h:315
LTC_USER_IO_SET_OUTPUT_REGISTER
@ LTC_USER_IO_SET_OUTPUT_REGISTER
Definition: ltc_defs.h:280
LTC_STATE_s::ltcIDs
uint8_t * ltcIDs
Definition: ltc_defs.h:552
LTC_STATE_REQUEST_e
LTC_STATE_REQUEST_e
Definition: ltc_defs.h:361
LTC_STATEMACH_USER_IO_FEEDBACK_TI
@ LTC_STATEMACH_USER_IO_FEEDBACK_TI
Definition: ltc_defs.h:145
LTC_STATE_s::gpioClocksTransferTime
uint32_t gpioClocksTransferTime
Definition: ltc_defs.h:545
LTC_STATE_s::voltMeasMode
LTC_ADCMODE_e voltMeasMode
Definition: ltc_defs.h:527
LTC_READ_VOLTAGE_REGISTER_H_RDCVH_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_H_RDCVH_READVOLTAGE
Definition: ltc_defs.h:195
LTC_STATEMACH_MUXMEASUREMENT_SUB_e
LTC_STATEMACH_MUXMEASUREMENT_SUB_e
Definition: ltc_defs.h:354
STD_RETURN_TYPE_e
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_THIRD
@ LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_THIRD
Definition: ltc_defs.h:297
LTC_STATEMACH_READVOLTAGE_2CELLS
@ LTC_STATEMACH_READVOLTAGE_2CELLS
Definition: ltc_defs.h:130
spi.h
Headers for the driver for the SPI module.
LTC_CONFIG_s::measAllGPIO
LTC_STATE_REQUEST_e measAllGPIO
Definition: ltc_defs.h:475
LTC_READ_AUXILIARY_REGISTER_B_RDAUXB
@ LTC_READ_AUXILIARY_REGISTER_B_RDAUXB
Definition: ltc_defs.h:199
LTC_REQUEST_CLEAR_STATUS_REGISTER
@ LTC_REQUEST_CLEAR_STATUS_REGISTER
Definition: ltc_defs.h:263
LTC_ADCMEAS_ALLCHANNEL
@ LTC_ADCMEAS_ALLCHANNEL
Definition: ltc_defs.h:104
LTC_STATEMACH_USER_IO_FEEDBACK
@ LTC_STATEMACH_USER_IO_FEEDBACK
Definition: ltc_defs.h:133
LTC_CONFIG_s::readEEPROM
LTC_STATE_REQUEST_e readEEPROM
Definition: ltc_defs.h:477
LTC_ADCMEAS_SINGLECHANNEL_TWOCELLS
@ LTC_ADCMEAS_SINGLECHANNEL_TWOCELLS
Definition: ltc_defs.h:110
LTC_STATE_s::triggerentry
uint8_t triggerentry
Definition: ltc_defs.h:540
LTC_READ_AUXILIARY_REGISTER_C_RDAUXC
@ LTC_READ_AUXILIARY_REGISTER_C_RDAUXC
Definition: ltc_defs.h:200
LTC_SAVE_FEEDBACK_BALANCECONTROL
@ LTC_SAVE_FEEDBACK_BALANCECONTROL
Definition: ltc_defs.h:220
LTC_HAS_TO_MEASURE
@ LTC_HAS_TO_MEASURE
Definition: ltc_defs.h:413
LTC_PEC_ERROR
@ LTC_PEC_ERROR
Definition: ltc_defs.h:400
LTC_REDUNDANCY_READ_STATUS_REGISTER_A
@ LTC_REDUNDANCY_READ_STATUS_REGISTER_A
Definition: ltc_defs.h:244
LTC_RE_ENTRY_INITIALIZATION
@ LTC_RE_ENTRY_INITIALIZATION
Definition: ltc_defs.h:174
LTC_DATAPTR_s::pSpiInterface
SPI_INTERFACE_CONFIG_s * pSpiInterface
Definition: ltc_defs.h:432
LTC_STATE_s::ltcData
LTC_DATAPTR_s ltcData
Definition: ltc_defs.h:572
DATA_BLOCK_SLAVE_CONTROL
Definition: database_cfg.h:258
LTC_READ_VOLTAGE_REGISTER_A_RDCVA_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_A_RDCVA_READVOLTAGE
Definition: ltc_defs.h:188
LTC_STATEMACH_BALANCEFEEDBACK
@ LTC_STATEMACH_BALANCEFEEDBACK
Definition: ltc_defs.h:137
LTC_CONFIG_s::balancing
LTC_STATE_REQUEST_e balancing
Definition: ltc_defs.h:473
LTC_STATEMACH_DIGITAL_FILTER_SUB_e
LTC_STATEMACH_DIGITAL_FILTER_SUB_e
Definition: ltc_defs.h:260
LTC_READ_AUXILIARY_REGISTER_A_RDAUXA
@ LTC_READ_AUXILIARY_REGISTER_A_RDAUXA
Definition: ltc_defs.h:198
LTC_STATE_VOLTAGEMEASUREMENT_2CELLS_REQUEST
@ LTC_STATE_VOLTAGEMEASUREMENT_2CELLS_REQUEST
Definition: ltc_defs.h:376
LTC_TEMP_SENS_READ_DATA3
@ LTC_TEMP_SENS_READ_DATA3
Definition: ltc_defs.h:323
LTC_USER_IO_READ_INPUT_REGISTER_TI_SECOND
@ LTC_USER_IO_READ_INPUT_REGISTER_TI_SECOND
Definition: ltc_defs.h:293
LTC_PORT_EXPANDER_TI_OUTPUT
@ LTC_PORT_EXPANDER_TI_OUTPUT
Definition: ltc_defs.h:504
LTC_ADCMODE_NORMAL_DCP1
@ LTC_ADCMODE_NORMAL_DCP1
Definition: ltc_defs.h:97
LTC_STATE_s::transmit_ongoing
bool transmit_ongoing
Definition: ltc_defs.h:565
LTC_TEMP_SENS_SEND_CLOCK_STCOMM2
@ LTC_TEMP_SENS_SEND_CLOCK_STCOMM2
Definition: ltc_defs.h:325
LTC_VOLTMEAS_SC_READ_SC
@ LTC_VOLTMEAS_SC_READ_SC
Definition: ltc_defs.h:208
LTC_STATEMACH_IDLE
@ LTC_STATEMACH_IDLE
Definition: ltc_defs.h:122
LTC_NOT_REUSED
@ LTC_NOT_REUSED
Definition: ltc_defs.h:493
LTC_USER_IO_READ_INPUT_REGISTER_TI_FIRST
@ LTC_USER_IO_READ_INPUT_REGISTER_TI_FIRST
Definition: ltc_defs.h:292
LTC_USER_IO_FINISHED_TI
@ LTC_USER_IO_FINISHED_TI
Definition: ltc_defs.h:300
LTC_READ_VOLTAGE_REGISTER_C_RDCVC_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_C_RDCVC_READVOLTAGE
Definition: ltc_defs.h:190
LTC_STATE_IDLE_REQUEST
@ LTC_STATE_IDLE_REQUEST
Definition: ltc_defs.h:374
LTC_MUX_SEQUENCE_s
Definition: ltc_defs.h:425
LTC_STATE_BALANCEFEEDBACK_REQUEST
@ LTC_STATE_BALANCEFEEDBACK_REQUEST
Definition: ltc_defs.h:372
LTC_ADCMODE_FILTERED_DCP0
@ LTC_ADCMODE_FILTERED_DCP0
Definition: ltc_defs.h:95
LTC_STATEMACH_READALLGPIO_SUB_e
LTC_STATEMACH_READALLGPIO_SUB_e
Definition: ltc_defs.h:344
LTC_STATEMACH_ADC_ACCURACY_REQUEST
@ LTC_STATEMACH_ADC_ACCURACY_REQUEST
Definition: ltc_defs.h:386
LTC_CONFIG2_BALANCECONTROL_END
@ LTC_CONFIG2_BALANCECONTROL_END
Definition: ltc_defs.h:217
LTC_OK_FROM_ERROR
@ LTC_OK_FROM_ERROR
Definition: ltc_defs.h:403
LTC_STATEMACH_READVOLTAGE_SUB_e
LTC_STATEMACH_READVOLTAGE_SUB_e
Definition: ltc_defs.h:186
LTC_STATEMACH_MUXCONFIGURATION_INIT
@ LTC_STATEMACH_MUXCONFIGURATION_INIT
Definition: ltc_defs.h:223
LTC_ENTRY_INITIALIZATION
@ LTC_ENTRY_INITIALIZATION
Definition: ltc_defs.h:172
LTC_START_INIT_INITIALIZATION
@ LTC_START_INIT_INITIALIZATION
Definition: ltc_defs.h:173
LTC_USER_IO_SET_DIRECTION_REGISTER_TI
@ LTC_USER_IO_SET_DIRECTION_REGISTER_TI
Definition: ltc_defs.h:290
LTC_ILLEGAL_REQUEST
@ LTC_ILLEGAL_REQUEST
Definition: ltc_defs.h:398
LTC_REUSE_READVOLT_FOR_ADOW_PDOWN
@ LTC_REUSE_READVOLT_FOR_ADOW_PDOWN
Definition: ltc_defs.h:495
LTC_USER_IO_READ_INPUT_REGISTER
@ LTC_USER_IO_READ_INPUT_REGISTER
Definition: ltc_defs.h:281
LTC_DEVICE_PARAMETER_READ_STATUS_REGISTER_B
@ LTC_DEVICE_PARAMETER_READ_STATUS_REGISTER_B
Definition: ltc_defs.h:242
LTC_STATEMACH_OPENWIRECHECK_SUB
LTC_STATEMACH_OPENWIRECHECK_SUB
Definition: ltc_defs.h:230
LTC_READ_AUXILIARY_REGISTER_C_RAUXC_READALLGPIO
@ LTC_READ_AUXILIARY_REGISTER_C_RAUXC_READALLGPIO
Definition: ltc_defs.h:348
LTC_DATAPTR_s::user_mux
DATA_BLOCK_USER_MUX_s * user_mux
Definition: ltc_defs.h:447
LTC_READ_VOLTAGE_REGISTER_B_RDCVB_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_B_RDCVB_READVOLTAGE
Definition: ltc_defs.h:189
LTC_STATE_s::cntDeviceRD
uint8_t cntDeviceRD
Definition: ltc_defs.h:553
LTC_EXIT_INITIALIZATION
@ LTC_EXIT_INITIALIZATION
Definition: ltc_defs.h:177
LTC_STATE_INIT_REQUEST
@ LTC_STATE_INIT_REQUEST
Definition: ltc_defs.h:362
LTC_STATEMACH_STARTMUXMEASUREMENT
@ LTC_STATEMACH_STARTMUXMEASUREMENT
Definition: ltc_defs.h:222
LTC_STATE_s::busSize
uint8_t busSize
Definition: ltc_defs.h:550
LTC_OPENWIRE_DETECTION_s
Definition: ltc_defs.h:77
LTC_STATEMACH_ERROR_MUXFAILED
@ LTC_STATEMACH_ERROR_MUXFAILED
Definition: ltc_defs.h:152
DATA_BLOCK_USER_MUX
Definition: database_cfg.h:286
LTC_STATEMACH_STARTMEAS_2CELLS
@ LTC_STATEMACH_STARTMEAS_2CELLS
Definition: ltc_defs.h:131
LTC_EXIT_READVOLTAGE
@ LTC_EXIT_READVOLTAGE
Definition: ltc_defs.h:197
LTC_CONFIG_s::measVoltage
LTC_STATE_REQUEST_e measVoltage
Definition: ltc_defs.h:469
LTC_N_LTC
#define LTC_N_LTC
Definition: ltc_cfg.h:66
LTC_STATE_s::instanceID
uint8_t instanceID
Definition: ltc_defs.h:548
LTC_ADCMEAS_SINGLECHANNEL_GPIO5
@ LTC_ADCMEAS_SINGLECHANNEL_GPIO5
Definition: ltc_defs.h:109
LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_B
@ LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_B
Definition: ltc_defs.h:268
LTC_STATE_s::adcMeasChreq
LTC_ADCMEAS_CHAN_e adcMeasChreq
Definition: ltc_defs.h:533
LTC_EXIT_VOLTMEAS_SC
@ LTC_EXIT_VOLTMEAS_SC
Definition: ltc_defs.h:209
LTC_STATE_READVOLTAGE_REQUEST
@ LTC_STATE_READVOLTAGE_REQUEST
Definition: ltc_defs.h:378
LTC_CONFIG_s::deviceParameterCheck
LTC_STATE_REQUEST_e deviceParameterCheck
Definition: ltc_defs.h:480
LTC_DIGITAL_FILTER_SELF_TEST_2_CELLVOLTAGES
@ LTC_DIGITAL_FILTER_SELF_TEST_2_CELLVOLTAGES
Definition: ltc_defs.h:270
LTC_STATE_s
Definition: ltc_defs.h:518
LTC_STATEMACH_DIGITAL_FILTER
@ LTC_STATEMACH_DIGITAL_FILTER
Definition: ltc_defs.h:141
LTC_STATEMACH_MUXMEASUREMENT_CONFIG
@ LTC_STATEMACH_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:224
LTC_MUX_ERROR
@ LTC_MUX_ERROR
Definition: ltc_defs.h:401
LTC_REQUEST_DEVICE_PARAMETER
@ LTC_REQUEST_DEVICE_PARAMETER
Definition: ltc_defs.h:240
LTC_STATE_s::ErrRetryCounter
uint8_t ErrRetryCounter
Definition: ltc_defs.h:538
LTC_DATAPTR_s::rxBuffer
uint16_t * rxBuffer
Definition: ltc_defs.h:434
LTC_ERROR_s::nrOfConsecutiveErrors
uint32_t nrOfConsecutiveErrors
Definition: ltc_defs.h:461
LTC_STATE_s::ErrPECCounter
uint32_t ErrPECCounter
Definition: ltc_defs.h:536
LTC_ERROR_s::errOccurred
uint8_t errOccurred
Definition: ltc_defs.h:460
LTC_SEND_CLOCK_STCOMM_DIRECTION_CONFIG
@ LTC_SEND_CLOCK_STCOMM_DIRECTION_CONFIG
Definition: ltc_defs.h:336
ltc_cfg.h
Headers for the configuration for the LTC monitoring chip.
LTC_USER_IO_FINISHED
@ LTC_USER_IO_FINISHED
Definition: ltc_defs.h:285
LTC_ERROR_s::errSPICnt
uint32_t * errSPICnt
Definition: ltc_defs.h:456
LTC_SEND_CLOCK_STCOMM_MUXMEASUREMENT_CONFIG
@ LTC_SEND_CLOCK_STCOMM_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:335
LTC_ERROR_s::errSPIRetryCnt
uint8_t errSPIRetryCnt
Definition: ltc_defs.h:459
LTC_REQUEST_CLEAR_CELLVOLTAGES
@ LTC_REQUEST_CLEAR_CELLVOLTAGES
Definition: ltc_defs.h:261
LTC_STATE_s::spiSeqPtr
SPI_INTERFACE_CONFIG_s * spiSeqPtr
Definition: ltc_defs.h:567
LTC_DIGITAL_FILTER_SELF_TEST_1_STATUS
@ LTC_DIGITAL_FILTER_SELF_TEST_1_STATUS
Definition: ltc_defs.h:269
LTC_CONFIG_s::measVoltage2Cells
LTC_STATE_REQUEST_e measVoltage2Cells
Definition: ltc_defs.h:470
LTC_STATE_s::errStatus
LTC_ERROR_s errStatus
Definition: ltc_defs.h:551
LTC_EXIT_READALLGPIO
@ LTC_EXIT_READALLGPIO
Definition: ltc_defs.h:350
LTC_ERROR_s::errPECCnt
uint32_t * errPECCnt
Definition: ltc_defs.h:455
LTC_CHECK_INITIALIZATION
@ LTC_CHECK_INITIALIZATION
Definition: ltc_defs.h:176
DATA_BLOCK_BALANCING_FEEDBACK
Definition: database_cfg.h:276
LTC_STATEMACH_EEPROM_READ_UID
@ LTC_STATEMACH_EEPROM_READ_UID
Definition: ltc_defs.h:143
LTC_READ_AUXILIARY_REGISTER_A_RAUXA_READALLGPIO
@ LTC_READ_AUXILIARY_REGISTER_A_RAUXA_READALLGPIO
Definition: ltc_defs.h:346
LTC_DATAPTR_s::cellTemperature
DATA_BLOCK_CELL_TEMPERATURE_s * cellTemperature
Definition: ltc_defs.h:437
LTC_EEPROM_READ_DATA1
@ LTC_EEPROM_READ_DATA1
Definition: ltc_defs.h:306
LTC_STATE_s::reusageMeasurementMode
LTC_REUSE_MODE_e reusageMeasurementMode
Definition: ltc_defs.h:557
LTC_STATEMACH_ADC_ACCURACY_CHECK_SUB_e
LTC_STATEMACH_ADC_ACCURACY_CHECK_SUB_e
Definition: ltc_defs.h:250
LTC_MUX_CH_CFG_s::muxCh
uint8_t muxCh
Definition: ltc_defs.h:421
LTC_STATEMACH_ALLGPIOMEASUREMENT
@ LTC_STATEMACH_ALLGPIOMEASUREMENT
Definition: ltc_defs.h:128
LTC_STATEMACH_MEASCYCLE_FINISHED
@ LTC_STATEMACH_MEASCYCLE_FINISHED
Definition: ltc_defs.h:147
LTC_STATE_s::VoltageSampleTime
uint32_t VoltageSampleTime
Definition: ltc_defs.h:546
LTC_TEMP_SENS_SEND_DATA1
@ LTC_TEMP_SENS_SEND_DATA1
Definition: ltc_defs.h:321
LTC_STATE_s::ltcConfig
LTC_CONFIG_s ltcConfig
Definition: ltc_defs.h:558
LTC_TASK_TYPE_e
LTC_TASK_TYPE_e
Definition: ltc_defs.h:412
LTC_STATEMACH_VOLTMEAS_SUMOFCELLS
@ LTC_STATEMACH_VOLTMEAS_SUMOFCELLS
Definition: ltc_defs.h:142
LTC_STATEMACH_UNINITIALIZED
@ LTC_STATEMACH_UNINITIALIZED
Definition: ltc_defs.h:117
LTC_EEPROM_FINISHED
@ LTC_EEPROM_FINISHED
Definition: ltc_defs.h:316
LTC_STATE_USER_IO_REQUEST
@ LTC_STATE_USER_IO_REQUEST
Definition: ltc_defs.h:365
LTC_STATEMACH_EEPROM_READ_UID_e
LTC_STATEMACH_EEPROM_READ_UID_e
Definition: ltc_defs.h:304
LTC_STATE_USER_IO_READ_REQUEST_TI
@ LTC_STATE_USER_IO_READ_REQUEST_TI
Definition: ltc_defs.h:367
LTC_STATE_OPENWIRE_CHECK_REQUEST
@ LTC_STATE_OPENWIRE_CHECK_REQUEST
Definition: ltc_defs.h:384
LTC_VOLTMEAS_SC_TRIGGER_CONVERSION
@ LTC_VOLTMEAS_SC_TRIGGER_CONVERSION
Definition: ltc_defs.h:207
LTC_STATE_s::requestedString
uint8_t requestedString
Definition: ltc_defs.h:571
LTC_STATE_s::ltc_muxcycle_finished
STD_RETURN_TYPE_e ltc_muxcycle_finished
Definition: ltc_defs.h:561
LTC_RETURN_TYPE_e
LTC_RETURN_TYPE_e
Definition: ltc_defs.h:394
LTC_STATEMACH_READALLGPIO
@ LTC_STATEMACH_READALLGPIO
Definition: ltc_defs.h:129
LTC_READ_AUXILIARY_REGISTER_D_RAUXD_READALLGPIO
@ LTC_READ_AUXILIARY_REGISTER_D_RAUXD_READALLGPIO
Definition: ltc_defs.h:349
LTC_ERROR_PROCESSED
@ LTC_ERROR_PROCESSED
Definition: ltc_defs.h:160
LTC_MUX_CH_CFG_s
Definition: ltc_defs.h:419
LTC_USER_IO_SET_OUTPUT_REGISTER_TI
@ LTC_USER_IO_SET_OUTPUT_REGISTER_TI
Definition: ltc_defs.h:291
LTC_REQUEST_FEEDBACK_BALANCECONTROL
@ LTC_REQUEST_FEEDBACK_BALANCECONTROL
Definition: ltc_defs.h:218
LTC_STATEMACH_BALANCEFEEDBACK_REQUEST
@ LTC_STATEMACH_BALANCEFEEDBACK_REQUEST
Definition: ltc_defs.h:382
LTC_STATE_s::currentString
uint8_t currentString
Definition: ltc_defs.h:570
LTC_READ_VOLTAGE_REGISTER_F_RDCVF_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_F_RDCVF_READVOLTAGE
Definition: ltc_defs.h:193
SPI_INTERFACE_CONFIG
Definition: spi_cfg.h:107
LTC_STATE_s::spiSeqEndPtr
SPI_INTERFACE_CONFIG_s * spiSeqEndPtr
Definition: ltc_defs.h:568
LTC_ERROR_s::errPECRetryCnt
uint8_t errPECRetryCnt
Definition: ltc_defs.h:458
LTC_CONFIG_s::balancing_feedback
LTC_STATE_REQUEST_e balancing_feedback
Definition: ltc_defs.h:474
LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_A
@ LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_A
Definition: ltc_defs.h:267
LTC_EEPROM_SEND_CLOCK_STCOMM2
@ LTC_EEPROM_SEND_CLOCK_STCOMM2
Definition: ltc_defs.h:311
LTC_DATAPTR_s::balancingFeedback
DATA_BLOCK_BALANCING_FEEDBACK_s * balancingFeedback
Definition: ltc_defs.h:438
LTC_STATEMACH_DEVICE_PARAMETER
@ LTC_STATEMACH_DEVICE_PARAMETER
Definition: ltc_defs.h:139
LTC_STATE_s::laststate
LTC_STATEMACH_e laststate
Definition: ltc_defs.h:524
LTC_STATEMACH_INITIALIZATION
@ LTC_STATEMACH_INITIALIZATION
Definition: ltc_defs.h:118
LTC_REQUEST_s
Definition: ltc_defs.h:509
LTC_READ_VOLTAGE_REGISTER_I_RDCVI_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_I_RDCVI_READVOLTAGE
Definition: ltc_defs.h:196
LTC_SEND_CLOCK_STCOMM_WRITE_IO
@ LTC_SEND_CLOCK_STCOMM_WRITE_IO
Definition: ltc_defs.h:337
LTC_ERRORTABLE_s
Definition: ltc_defs.h:68
LTC_CONFIG_s::measMux
LTC_STATE_REQUEST_e measMux
Definition: ltc_defs.h:472
LTC_STATEMACH_READVOLTAGE_SC_SUB_e
LTC_STATEMACH_READVOLTAGE_SC_SUB_e
Definition: ltc_defs.h:206
LTC_STATEMACH_TEMP_SENS_READ
@ LTC_STATEMACH_TEMP_SENS_READ
Definition: ltc_defs.h:136
LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM
@ LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM
Definition: ltc_defs.h:283
LTC_DIGITAL_FILTER_SELF_TEST_1_CELLVOLTAGES
@ LTC_DIGITAL_FILTER_SELF_TEST_1_CELLVOLTAGES
Definition: ltc_defs.h:265
LTC_CONFIG_s::accuracyADCverification
LTC_STATE_REQUEST_e accuracyADCverification
Definition: ltc_defs.h:481
LTC_CONFIG_s::numberActiveOfStates
uint8_t numberActiveOfStates
Definition: ltc_defs.h:484
LTC_SET_MUX_CHANNEL_WRCOMM_MUXMEASUREMENT_CONFIG
@ LTC_SET_MUX_CHANNEL_WRCOMM_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:334
LTC_INIT_STRING
@ LTC_INIT_STRING
Definition: ltc_defs.h:171
LTC_EEPROM_READ_DATA2
@ LTC_EEPROM_READ_DATA2
Definition: ltc_defs.h:307
LTC_STATE_s::lastsubstate
uint8_t lastsubstate
Definition: ltc_defs.h:525
LTC_STATEMACH_BALANCECONTROL
@ LTC_STATEMACH_BALANCECONTROL
Definition: ltc_defs.h:127
LTC_STATEMACH_OPENWIRE_CHECK
@ LTC_STATEMACH_OPENWIRE_CHECK
Definition: ltc_defs.h:138
LTC_MUX_SEQUENCE_s::seqptr
LTC_MUX_CH_CFG_s * seqptr
Definition: ltc_defs.h:427
LTC_STATE_NO_REQUEST
@ LTC_STATE_NO_REQUEST
Definition: ltc_defs.h:388
LTC_STATE_s::statereq
LTC_REQUEST_s statereq
Definition: ltc_defs.h:521
LTC_STATE_READVOLTAGE_2CELLS_REQUEST
@ LTC_STATE_READVOLTAGE_2CELLS_REQUEST
Definition: ltc_defs.h:379
LTC_DATAPTR_s::txBuffer
uint16_t * txBuffer
Definition: ltc_defs.h:433
LTC_STATEMACH_EEPROM_WRITE
@ LTC_STATEMACH_EEPROM_WRITE
Definition: ltc_defs.h:135
LTC_USER_IO_SEND_CLOCK_STCOMM
@ LTC_USER_IO_SEND_CLOCK_STCOMM
Definition: ltc_defs.h:282
LTC_STATE_s::adcMode
LTC_ADCMODE_e adcMode
Definition: ltc_defs.h:526
LTC_STATEMACH_USER_IO_CONTROL_TI
@ LTC_STATEMACH_USER_IO_CONTROL_TI
Definition: ltc_defs.h:144
LTC_STATE_s::taskCycleCnt
uint8_t taskCycleCnt
Definition: ltc_defs.h:555
LTC_READ_VOLTAGES_PULLUP_OPENWIRE_CHECK
@ LTC_READ_VOLTAGES_PULLUP_OPENWIRE_CHECK
Definition: ltc_defs.h:232
LTC_STATE_BALANCECONTROL_REQUEST
@ LTC_STATE_BALANCECONTROL_REQUEST
Definition: ltc_defs.h:381
LTC_REQUEST_REDUNDANCY_CHECK
@ LTC_REQUEST_REDUNDANCY_CHECK
Definition: ltc_defs.h:243
LTC_REQUEST_DIGITAL_FILTER_CHECK_CELLVOLTAGES
@ LTC_REQUEST_DIGITAL_FILTER_CHECK_CELLVOLTAGES
Definition: ltc_defs.h:264
LTC_STATE_s::taskMode
LTC_TASK_TYPE_e taskMode
Definition: ltc_defs.h:520
LTC_STATEMACH_EEPROM_READ
@ LTC_STATEMACH_EEPROM_READ
Definition: ltc_defs.h:134
LTC_STATE_s::gpioMeasMode
LTC_ADCMODE_e gpioMeasMode
Definition: ltc_defs.h:528
LTC_REQUEST_PENDING
@ LTC_REQUEST_PENDING
Definition: ltc_defs.h:397
LTC_STATEMACH_UNINITIALIZED_SUB_e
LTC_STATEMACH_UNINITIALIZED_SUB_e
Definition: ltc_defs.h:164
LTC_CONFIG2_BALANCECONTROL
@ LTC_CONFIG2_BALANCECONTROL
Definition: ltc_defs.h:216
LTC_READ_VOLTAGE_REGISTER_E_RDCVE_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_E_RDCVE_READVOLTAGE
Definition: ltc_defs.h:192
DATA_BLOCK_CELL_TEMPERATURE
Definition: database_cfg.h:131
LTC_STATE_s::adcModereq
LTC_ADCMODE_e adcModereq
Definition: ltc_defs.h:529
LTC_REQUEST_PULLUP_CURRENT_OPENWIRE_CHECK
@ LTC_REQUEST_PULLUP_CURRENT_OPENWIRE_CHECK
Definition: ltc_defs.h:231
LTC_STATEMACH_UNDEFINED
@ LTC_STATEMACH_UNDEFINED
Definition: ltc_defs.h:148
LTC_CONFIG_s::taskCycleCnt
uint8_t taskCycleCnt
Definition: ltc_defs.h:483
LTC_TEMP_SENS_SAVE_TEMP
@ LTC_TEMP_SENS_SAVE_TEMP
Definition: ltc_defs.h:327
LTC_STATEMACH_RESERVED1
@ LTC_STATEMACH_RESERVED1
Definition: ltc_defs.h:149
LTC_STATE_s::nrBatcellsPerModule
uint8_t nrBatcellsPerModule
Definition: ltc_defs.h:549
LTC_ENTRY_UNINITIALIZED
@ LTC_ENTRY_UNINITIALIZED
Definition: ltc_defs.h:165
LTC_TEMP_SENS_SEND_CLOCK_STCOMM1
@ LTC_TEMP_SENS_SEND_CLOCK_STCOMM1
Definition: ltc_defs.h:324
LTC_ERROR
@ LTC_ERROR
Definition: ltc_defs.h:404
LTC_BUSY_OK
@ LTC_BUSY_OK
Definition: ltc_defs.h:396
LTC_MUX_SEQUENCE_s::nr_of_steps
uint8_t nr_of_steps
Definition: ltc_defs.h:426
LTC_STATEMACH_INITIALIZATION_SUB_e
LTC_STATEMACH_INITIALIZATION_SUB_e
Definition: ltc_defs.h:169
LTC_STATE_s::commandTransferTime
uint32_t commandTransferTime
Definition: ltc_defs.h:543
LTC_REUSE_READVOLT_FOR_ADOW_PUP
@ LTC_REUSE_READVOLT_FOR_ADOW_PUP
Definition: ltc_defs.h:494
LTC_DATAPTR_s::errorTable
LTC_ERRORTABLE_s * errorTable
Definition: ltc_defs.h:445
DATA_BLOCK_CELL_VOLTAGE
Definition: database_cfg.h:115
LTC_EEPROM_WRITE_DATA1
@ LTC_EEPROM_WRITE_DATA1
Definition: ltc_defs.h:308
LTC_ADCMODE_FAST_DCP1
@ LTC_ADCMODE_FAST_DCP1
Definition: ltc_defs.h:96
LTC_DIGITAL_FILTER_SELF_TEST_2_STATUS
@ LTC_DIGITAL_FILTER_SELF_TEST_2_STATUS
Definition: ltc_defs.h:274
LTC_STATEMACH_STARTMEAS_CONTINUE
@ LTC_STATEMACH_STARTMEAS_CONTINUE
Definition: ltc_defs.h:146
LTC_EXIT_DEVICE_PARAMETER
@ LTC_EXIT_DEVICE_PARAMETER
Definition: ltc_defs.h:246
LTC_STATEMACH_ERROR_INITIALIZATION
@ LTC_STATEMACH_ERROR_INITIALIZATION
Definition: ltc_defs.h:153
LTC_ADCMEAS_SINGLECHANNEL_GPIO1
@ LTC_ADCMEAS_SINGLECHANNEL_GPIO1
Definition: ltc_defs.h:105
LTC_STATE_s::state
LTC_STATEMACH_e state
Definition: ltc_defs.h:522
LTC_STATEMACH_ERROR_SPIFAILED
@ LTC_STATEMACH_ERROR_SPIFAILED
Definition: ltc_defs.h:150
LTC_HAS_TO_MEASURE_2CELLS
@ LTC_HAS_TO_MEASURE_2CELLS
Definition: ltc_defs.h:415
LTC_EEPROM_READ_I2C_TRANSMISSION_RESULT_RDCOMM
@ LTC_EEPROM_READ_I2C_TRANSMISSION_RESULT_RDCOMM
Definition: ltc_defs.h:314
LTC_STATEMACH_STOREMUXMEASUREMENT
@ LTC_STATEMACH_STOREMUXMEASUREMENT
Definition: ltc_defs.h:226
LTC_STATEMACH_SUB_e
LTC_STATEMACH_SUB_e
Definition: ltc_defs.h:157
LTC_ADCMODE_UNDEFINED
@ LTC_ADCMODE_UNDEFINED
Definition: ltc_defs.h:92
LTC_HAS_TO_REINIT
@ LTC_HAS_TO_REINIT
Definition: ltc_defs.h:414
LTC_STATEMACH_MUXMEASUREMENT_FINISHED
@ LTC_STATEMACH_MUXMEASUREMENT_FINISHED
Definition: ltc_defs.h:126
LTC_ENTRY_INITIALIZED
@ LTC_ENTRY_INITIALIZED
Definition: ltc_defs.h:182
LTC_ILLEGAL_TASK_TYPE
@ LTC_ILLEGAL_TASK_TYPE
Definition: ltc_defs.h:406
LTC_EEPROM_SEND_CLOCK_STCOMM1
@ LTC_EEPROM_SEND_CLOCK_STCOMM1
Definition: ltc_defs.h:310
LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_B_2
@ LTC_DIGITAL_FILTER_READ_STATUS_REGISTER_B_2
Definition: ltc_defs.h:273
database.h
Database module header.
LTC_DATAPTR_s::cellVoltage
DATA_BLOCK_CELL_VOLTAGE_s * cellVoltage
Definition: ltc_defs.h:436
LTC_STATE_s::balance_control_done
STD_RETURN_TYPE_e balance_control_done
Definition: ltc_defs.h:563
LTC_STATE_s::check_spi_flag
STD_RETURN_TYPE_e check_spi_flag
Definition: ltc_defs.h:562
LTC_ADCMODE_NORMAL_DCP0
@ LTC_ADCMODE_NORMAL_DCP0
Definition: ltc_defs.h:94
LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_FOURTH
@ LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_FOURTH
Definition: ltc_defs.h:298
LTC_STATEMACH_READVOLTAGE
@ LTC_STATEMACH_READVOLTAGE
Definition: ltc_defs.h:124
LTC_EEPROM_WRITE_DATA2
@ LTC_EEPROM_WRITE_DATA2
Definition: ltc_defs.h:309
LTC_USER_IO_SAVE_DATA_TI
@ LTC_USER_IO_SAVE_DATA_TI
Definition: ltc_defs.h:299
LTC_ERROR_s::ltcStatus
uint8_t * ltcStatus
Definition: ltc_defs.h:457
LTC_ENTRY
@ LTC_ENTRY
Definition: ltc_defs.h:158
LTC_STATEMACH_USER_IO_CONTROL_TI_e
LTC_STATEMACH_USER_IO_CONTROL_TI_e
Definition: ltc_defs.h:289
LTC_STATE_USER_IO_READ_REQUEST
@ LTC_STATE_USER_IO_READ_REQUEST
Definition: ltc_defs.h:364
LTC_REDUNDANCY_READ_STATUS_REGISTER_B
@ LTC_REDUNDANCY_READ_STATUS_REGISTER_B
Definition: ltc_defs.h:245
LTC_READ_ADC1_VERIFICATION_VALUE
@ LTC_READ_ADC1_VERIFICATION_VALUE
Definition: ltc_defs.h:252
LTC_STATEMACH_USER_IO_CONTROL_e
LTC_STATEMACH_USER_IO_CONTROL_e
Definition: ltc_defs.h:279
LTC_PERFORM_OPENWIRE_CHECK
@ LTC_PERFORM_OPENWIRE_CHECK
Definition: ltc_defs.h:235
LTC_STATE_s::ErrRequestCounter
uint32_t ErrRequestCounter
Definition: ltc_defs.h:539
LTC_ADCMEAS_SINGLECHANNEL_GPIO3
@ LTC_ADCMEAS_SINGLECHANNEL_GPIO3
Definition: ltc_defs.h:107
LTC_READ_VOLTAGE_REGISTER_D_RDCVD_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_D_RDCVD_READVOLTAGE
Definition: ltc_defs.h:191
LTC_STATE_USER_IO_WRITE_REQUEST
@ LTC_STATE_USER_IO_WRITE_REQUEST
Definition: ltc_defs.h:363
LTC_STATEMACH_ERROR_PECFAILED
@ LTC_STATEMACH_ERROR_PECFAILED
Definition: ltc_defs.h:151
LTC_STATE_s::numberOfMeasuredMux
uint8_t numberOfMeasuredMux
Definition: ltc_defs.h:535
LTC_DATAPTR_s::GPIOVoltages
uint16_t * GPIOVoltages
Definition: ltc_defs.h:448
LTC_DIGITAL_FILTER_SELF_TEST_1_AUX
@ LTC_DIGITAL_FILTER_SELF_TEST_1_AUX
Definition: ltc_defs.h:266
LTC_STATE_ALLGPIOMEASUREMENT_REQUEST
@ LTC_STATE_ALLGPIOMEASUREMENT_REQUEST
Definition: ltc_defs.h:383
LTC_CONFIG_BALANCECONTROL
@ LTC_CONFIG_BALANCECONTROL
Definition: ltc_defs.h:215
DATA_BLOCK_ALL_GPIO_VOLTAGES
Definition: database_cfg.h:308
LTC_SAVE_ADC1_VERIFICATION_VALUE
@ LTC_SAVE_ADC1_VERIFICATION_VALUE
Definition: ltc_defs.h:253
LTC_START_GPIO_MEASUREMENT_MUXMEASUREMENT_CONFIG
@ LTC_START_GPIO_MEASUREMENT_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:340
LTC_REQUEST_s::string
uint8_t string
Definition: ltc_defs.h:511
LTC_TEMP_SENS_READ_DATA1
@ LTC_TEMP_SENS_READ_DATA1
Definition: ltc_defs.h:322
LTC_EXIT_ADC_ACCURACY_CHECK
@ LTC_EXIT_ADC_ACCURACY_CHECK
Definition: ltc_defs.h:256
LTC_REQUEST_CLEAR_AUX_REGISTER
@ LTC_REQUEST_CLEAR_AUX_REGISTER
Definition: ltc_defs.h:262
LTC_EXIT_READAUXILIARY_ALLGPIOS
@ LTC_EXIT_READAUXILIARY_ALLGPIOS
Definition: ltc_defs.h:202
LTC_REQUEST_PULLDOWN_CURRENT_OPENWIRE_CHECK
@ LTC_REQUEST_PULLDOWN_CURRENT_OPENWIRE_CHECK
Definition: ltc_defs.h:233
LTC_ADCMODE_FAST_DCP0
@ LTC_ADCMODE_FAST_DCP0
Definition: ltc_defs.h:93
LTC_CONFIG_s
Definition: ltc_defs.h:468
LTC_STATE_s::substate
uint8_t substate
Definition: ltc_defs.h:523
LTC_READ_I2C_TRANSMISSION_CHECK_MUXMEASUREMENT_CONFIG
@ LTC_READ_I2C_TRANSMISSION_CHECK_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:339
LTC_STATE_s::timer
uint16_t timer
Definition: ltc_defs.h:519
LTC_STATE_s::resendCommandCounter
uint8_t resendCommandCounter
Definition: ltc_defs.h:564
LTC_DATAPTR_s::allGpioVoltages
DATA_BLOCK_ALL_GPIO_VOLTAGES_s * allGpioVoltages
Definition: ltc_defs.h:441
LTC_ADCMEAS_SINGLECHANNEL_GPIO2
@ LTC_ADCMEAS_SINGLECHANNEL_GPIO2
Definition: ltc_defs.h:106
LTC_READ_INITIALIZATION_REGISTER
@ LTC_READ_INITIALIZATION_REGISTER
Definition: ltc_defs.h:175
LTC_STATE_s::dummyByte_ongoing
STD_RETURN_TYPE_e dummyByte_ongoing
Definition: ltc_defs.h:566
LTC_ADCMODE_e
LTC_ADCMODE_e
Definition: ltc_defs.h:91
LTC_READ_FEEDBACK_BALANCECONTROL
@ LTC_READ_FEEDBACK_BALANCECONTROL
Definition: ltc_defs.h:219
LTC_STATEMACH_USER_IO_CONTROL
@ LTC_STATEMACH_USER_IO_CONTROL
Definition: ltc_defs.h:132
LTC_READ_I2C_TRANSMISSION_RESULT_RDCOMM_MUXMEASUREMENT_CONFIG
@ LTC_READ_I2C_TRANSMISSION_RESULT_RDCOMM_MUXMEASUREMENT_CONFIG
Definition: ltc_defs.h:338
LTC_STATEMACH_MUXMEASUREMENT
@ LTC_STATEMACH_MUXMEASUREMENT
Definition: ltc_defs.h:125
LTC_READ_AUXILIARY_REGISTER_B_RAUXB_READALLGPIO
@ LTC_READ_AUXILIARY_REGISTER_B_RAUXB_READALLGPIO
Definition: ltc_defs.h:347
LTC_STATEMACH_REINIT
@ LTC_STATEMACH_REINIT
Definition: ltc_defs.h:119
LTC_STATE_EEPROM_READ_UID_REQUEST
@ LTC_STATE_EEPROM_READ_UID_REQUEST
Definition: ltc_defs.h:370
LTC_MUX_CH_CFG_s::muxID
uint8_t muxID
Definition: ltc_defs.h:420
LTC_SAVE_MUX_MEASUREMENT_MUXMEASUREMENT
@ LTC_SAVE_MUX_MEASUREMENT_MUXMEASUREMENT
Definition: ltc_defs.h:357
LTC_ALREADY_INITIALIZED
@ LTC_ALREADY_INITIALIZED
Definition: ltc_defs.h:405
LTC_READ_VOLTAGE_REGISTER_G_RDCVG_READVOLTAGE
@ LTC_READ_VOLTAGE_REGISTER_G_RDCVG_READVOLTAGE
Definition: ltc_defs.h:194
LTC_DATAPTR_s::usedCellIndex
uint16_t * usedCellIndex
Definition: ltc_defs.h:443
LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_SECOND
@ LTC_USER_IO_READ_I2C_TRANSMISSION_RESULT_RDCOMM_TI_SECOND
Definition: ltc_defs.h:296
LTC_STATE_s::muxSampleTime
uint32_t muxSampleTime
Definition: ltc_defs.h:547
LTC_EEPROM_SET_READ_ADDRESS
@ LTC_EEPROM_SET_READ_ADDRESS
Definition: ltc_defs.h:305
LTC_REUSE_MODE_e
LTC_REUSE_MODE_e
Definition: ltc_defs.h:492
LTC_STATE_s::ctrlCallCnt
uint32_t ctrlCallCnt
Definition: ltc_defs.h:554
LTC_STATE_REINIT_REQUEST
@ LTC_STATE_REINIT_REQUEST
Definition: ltc_defs.h:373
DATA_BLOCK_BALANCING_CONTROL
Definition: database_cfg.h:245
LTC_STATEMACH_INITIALIZED
@ LTC_STATEMACH_INITIALIZED
Definition: ltc_defs.h:120
LTC_STATE_s::adcMeasCh
LTC_ADCMEAS_CHAN_e adcMeasCh
Definition: ltc_defs.h:531
LTC_CONFIG_s::measTemperature
LTC_STATE_REQUEST_e measTemperature
Definition: ltc_defs.h:478
LTC_OK
@ LTC_OK
Definition: ltc_defs.h:395
LTC_DATAPTR_s
Definition: ltc_defs.h:431
LTC_ADCMEAS_SINGLECHANNEL_GPIO4
@ LTC_ADCMEAS_SINGLECHANNEL_GPIO4
Definition: ltc_defs.h:108
BS_NR_OF_STRINGS
#define BS_NR_OF_STRINGS
Definition: battery_system_cfg.h:89
LTC_STATEMACH_DEVICE_PARAMETER_REQUEST
@ LTC_STATEMACH_DEVICE_PARAMETER_REQUEST
Definition: ltc_defs.h:385
LTC_DEVICE_PARAMETER_READ_STATUS_REGISTER_A
@ LTC_DEVICE_PARAMETER_READ_STATUS_REGISTER_A
Definition: ltc_defs.h:241
LTC_STATE_s::commandDataTransferTime
uint32_t commandDataTransferTime
Definition: ltc_defs.h:542
LTC_CONFIG_s::measVoltageSumofCells
LTC_STATE_REQUEST_e measVoltageSumofCells
Definition: ltc_defs.h:471