55 #ifndef FOXBMS__N775_DEFS_H_
56 #define FOXBMS__N775_DEFS_H_
205 uint8_t activeStates[12];
General macros and definitions for the whole platform.
N775_PORT_EXPANDER_TI_DIRECTION_e
@ N775_PORT_EXPANDER_TI_OUTPUT
@ N775_PORT_EXPANDER_TI_INPUT
@ N775_ALREADY_INITIALIZED
@ N775_REUSE_READVOLT_FOR_ADOW_PDOWN
@ N775_REUSE_READVOLT_FOR_ADOW_PUP
N775_STATEMACH_INITIALIZATION_SUB_e
@ N775_EXIT_INITIALIZATION
@ N775_RE_ENTRY_INITIALIZATION
@ N775_ENTRY_INITIALIZATION
@ N775_START_INIT_INITIALIZATION
@ N775_CHECK_INITIALIZATION
@ N775_READ_INITIALIZATION_REGISTER
@ N775_STATE_INIT_REQUEST
N775_STATEMACH_UNINITIALIZED_SUB_e
@ N775_ENTRY_UNINITIALIZED
@ N775_STATEMACH_ENUMERATE
@ N775_STATEMACH_BALANCECONTROL
@ N775_STATEMACH_STARTMEAS
@ N775_STATEMACH_READVOLTAGE
@ N775_STATEMACH_INITIALIZED
@ N775_STATEMACH_INITIALIZATION
@ N775_STATEMACH_UNINITIALIZED
Headers for the driver for the SPI module.
N775_STATE_REQUEST_e balancing
N775_STATE_REQUEST_e measTemperature
uint8_t numberActiveOfStates
N775_STATE_REQUEST_e measMux
N775_STATE_REQUEST_e accuracyADCverification
N775_STATE_REQUEST_e digitalFilterCheck
N775_STATE_REQUEST_e balancing_feedback
N775_STATE_REQUEST_e measVoltage
N775_STATE_REQUEST_e readEEPROM
N775_STATE_REQUEST_e measVoltage2Cells
N775_STATE_REQUEST_e openWireCheck
N775_STATE_REQUEST_e measAllGPIO
N775_STATE_REQUEST_e measVoltageSumofCells
N775_STATE_REQUEST_e userIO
N775_STATE_REQUEST_e deviceParameterCheck
DATA_BLOCK_USER_MUX_s * user_mux
DATA_BLOCK_MIN_MAX_s * minmax
DATA_BLOCK_OPEN_WIRE_s * openWire_check
DATA_BLOCK_CELL_TEMPERATURE_s * celltemperature
uint16_t * valid_GPIOPECs
DATA_BLOCK_SLAVE_CONTROL_s * user_io_control
DATA_BLOCK_CELL_VOLTAGE_s * cellvoltage
DATA_BLOCK_BALANCING_CONTROL_s * balancing_control
DATA_BLOCK_BALANCING_FEEDBACK_s * balancing_feedback
uint32_t nrOfConsecutiveErrors
N775_MUX_CH_CFG_s * seqptr
STD_RETURN_TYPE_e firstMeasurementMade
N775_STATE_REQUEST_e stateReq
STD_RETURN_TYPE_e checkSpiFlag
uint32_t errRequestCounter
STD_RETURN_TYPE_e balanceControlDone
N775_STATEMACH_e lastState
uint16_t remainingMessages