57 #ifndef FOXBMS__NXPFS85XX_H_
58 #define FOXBMS__NXPFS85XX_H_
168 uint8_t *requiredWatchdogRefreshes);
200 #ifdef UNITY_UNIT_TEST
201 extern STD_RETURN_TYPE_e TEST_SBC_CheckRegisterValues(uint32_t registerValue, uint32_t expectedRegisterValue);
202 extern void TEST_SBC_UpdateRegister(
205 uint32_t registerAddress,
206 uint32_t registerValue);
207 extern void TEST_SBC_UpdateFailSafeRegister(
209 uint32_t registerAddress,
210 uint32_t registerValue);
211 extern void TEST_SBC_UpdateMainRegister(
213 uint32_t registerAddress,
214 uint32_t registerValue);
Headers for the configuration for the FRAM module.
STD_RETURN_TYPE_e FS85_InitializeNumberOfRequiredWatchdogRefreshes(FS85_STATE_s *pInstance, uint8_t *requiredWatchdogRefreshes)
Calculates the number of required watchdog refresh to reset fault error counter.
FS85_STATE_s fs85xx_mcuSupervisor
STD_RETURN_TYPE_e FS85_InitializeFsPhase(FS85_STATE_s *pInstance)
Configures SBC during INIT_FS phase.
STD_RETURN_TYPE_e SBC_TriggerWatchdog(FS85_STATE_s *pInstance)
Trigger watchdog.
STD_RETURN_TYPE_e FS85_SafetyPathChecks(FS85_STATE_s *pInstance)
Performs SBC safety path checks.
STD_RETURN_TYPE_e FS85_CheckFaultErrorCounter(FS85_STATE_s *pInstance)
Checks if fault error counter is zero.
Config header file for SBC module.
This file contains functions for SPI/I2C communication.
Headers for the driver for the SPI module.
volatile uint32_t * pGIOport
STD_RETURN_TYPE_e finState
uint16_t iWatchdogConfiguration
uint16_t overvoltageUndervoltageRegisterStatus
uint16_t iOvervoltageUndervoltageSafeReaction2
uint16_t iFailSafeSateMachine
uint16_t iOvervoltageUndervoltageSafeReaction1
uint16_t registerControl1
uint16_t registerControl2
uint16_t analogMultiplexer
FS85_MAIN_REGISTERS_s mainRegister
FS85_OPERATION_MODE_e mode
FS85_FS_REGISTER_s fsRegister
FS85_FIN_CONFIGURATION_s fin
fs8x_drv_data_t configValues
SPI_INTERFACE_CONFIG_s * pSpiInterface
This data structure is used by the FS8x driver (this is the first parameter of most the FS8x function...