foxBMS  1.6.0
The foxBMS Battery Management System API Documentation
N775_STATE_s Struct Reference

#include <nxp_mc33775a_defs.h>

Collaboration diagram for N775_STATE_s:

Data Fields

bool firstMeasurementMade
 
uint8_t currentString
 
SPI_INTERFACE_CONFIG_spSpiTxSequenceStart
 
SPI_INTERFACE_CONFIG_spSpiTxSequence
 
SPI_INTERFACE_CONFIG_spSpiRxSequenceStart
 
SPI_INTERFACE_CONFIG_spSpiRxSequence
 
uint8_t currentMux [BS_NR_OF_STRINGS]
 
N775_MUX_CH_CFG_spMuxSequenceStart [BS_NR_OF_STRINGS]
 
N775_MUX_CH_CFG_spMuxSequence [BS_NR_OF_STRINGS]
 
N775_DATAPTR_s n775Data
 

Detailed Description

This structure contains all the variables relevant for the N775 state machine. The user can get the current state of the N775 state machine with this variable

Definition at line 247 of file nxp_mc33775a_defs.h.

Field Documentation

◆ currentMux

uint8_t N775_STATE_s::currentMux[BS_NR_OF_STRINGS]

mux currently being addressed

Definition at line 254 of file nxp_mc33775a_defs.h.

◆ currentString

uint8_t N775_STATE_s::currentString

string currently being addressed

Definition at line 249 of file nxp_mc33775a_defs.h.

◆ firstMeasurementMade

bool N775_STATE_s::firstMeasurementMade

flag that indicates if the first measurement cycle was completed

Definition at line 248 of file nxp_mc33775a_defs.h.

◆ n775Data

N775_DATAPTR_s N775_STATE_s::n775Data

Definition at line 259 of file nxp_mc33775a_defs.h.

◆ pMuxSequence

N775_MUX_CH_CFG_s* N775_STATE_s::pMuxSequence[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)

Definition at line 257 of file nxp_mc33775a_defs.h.

◆ pMuxSequenceStart

N775_MUX_CH_CFG_s* N775_STATE_s::pMuxSequenceStart[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)

Definition at line 255 of file nxp_mc33775a_defs.h.

◆ pSpiRxSequence

SPI_INTERFACE_CONFIG_s* N775_STATE_s::pSpiRxSequence

pointer to the SPI sequence to be used for Rx

Definition at line 253 of file nxp_mc33775a_defs.h.

◆ pSpiRxSequenceStart

SPI_INTERFACE_CONFIG_s* N775_STATE_s::pSpiRxSequenceStart

pointer to the start of SPI sequence to be used for Rx

Definition at line 252 of file nxp_mc33775a_defs.h.

◆ pSpiTxSequence

SPI_INTERFACE_CONFIG_s* N775_STATE_s::pSpiTxSequence

pointer to the SPI sequence to be used for Tx

Definition at line 251 of file nxp_mc33775a_defs.h.

◆ pSpiTxSequenceStart

SPI_INTERFACE_CONFIG_s* N775_STATE_s::pSpiTxSequenceStart

pointer to the start of SPI sequence to be used for Tx

Definition at line 250 of file nxp_mc33775a_defs.h.


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