|
foxBMS
1.0.0
The foxBMS Battery Management System API Documentation
|
Go to the documentation of this file.
56 #ifndef FOXBMS__NXPFS85XX_H_
57 #define FOXBMS__NXPFS85XX_H_
uint16_t overvoltageUndervoltageRegisterStatus
struct SBC_NVRAM_INFO SBC_NVRAM_INFO_s
FS85X_MAIN_REGISTERS_s mainRegister
volatile uint32_t * pGIOport
Headers for the configuration for the FRAM module.
struct FS85X_FS_REGISTERS FS85X_FS_REGISTER_s
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
Headers for the driver for the SPI module.
uint16_t iOvervoltageUndervolateSafeReaction2
FS85X_OPERATION_MODE_e mode
fs8x_drv_data_t configValues
FS85X_FS_REGISTER_s fsRegister
struct FS85xx_STATE FS85xx_STATE_s
uint16_t iOvervoltageUndervolateSafeReaction1
This data structure is used by the FS8x driver (this is the first parameter of most the FS8x function...
uint16_t iFailSafeSateMachine
uint16_t analogMultiplexer
struct FS85X_MAIN_REGISTERS FS85X_MAIN_REGISTERS_s
STD_RETURN_TYPE_e FS85X_CheckFaultErrorCounter(FS85xx_STATE_s *pInstance)
Checks if fault error counter is zero.
FS85X_FIN_CONFIGURATION_s fin
STD_RETURN_TYPE_e FS85X_Init_ReqWDGRefreshes(FS85xx_STATE_s *pInstance, uint8_t *requiredWatchdogRefreshes)
Calculates the number of required watchdog refresh to reset fault error counter.
SPI_INTERFACE_CONFIG_s * pSpiInterface
STD_RETURN_TYPE_e SBC_TriggerWatchdog(FS85xx_STATE_s *pInstance)
Trigger watchdog.
enum FS85X_OPERATION_MODE FS85X_OPERATION_MODE_e
uint16_t registerControl2
Config header file for SBC module.
enum FRAM_BLOCK_ID FRAM_BLOCK_ID_e
STD_RETURN_TYPE_e finState
This file contains functions for SPI/I2C communication.
STD_RETURN_TYPE_e FS85X_InitFS(FS85xx_STATE_s *pInstance)
Configures SBC during INIT_FS phase.
uint16_t registerControl1
STD_RETURN_TYPE_e FS85X_SafetyPathChecks(FS85xx_STATE_s *pInstance)
Performs SBC safety path checks.
uint16_t iWatchdogConfiguration
FS85xx_STATE_s fs85xx_mcuSupervisor
struct FS85X_FIN_CONFIGURATION FS85X_FIN_CONFIGURATION_s