|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
59 #define FS8x_WD_SEED_DEFAULT 0x5AB2U
163 uint8_t* faultErrorCounterValue);
fs8x_status_t FS8x_GetFaultErrorCounterValue(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData, uint8_t *faultErrorCounterValue)
Reads actual Fault Error Counter value.
@ fs8xAmuxVldo2VoltDiv2_5
Driver common structures, enums, macros and configuration values.
#define FS8X_M_AMUX_VDDIO
#define FS8X_M_AMUX_VBUCK2_VOLTAGE
@ fs8xAmuxWake1VoltDiv7_5
#define FS8X_M_AMUX_VBOS_VOLTAGE_DIVIDED
@ fs8xAmuxVsup1VoltDiv7_5
@ fs8xAmuxVbuck3VoltDiv2_5
#define FS8X_M_AMUX_TEMPERATURE_SENSOR
fs8x_status_t FS8x_WD_Refresh(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData)
Performs the watchdog refresh.
#define FS8X_M_AMUX_VSUP1_VOLTAGE_DIVIDED
fs8x_status_t
Status return codes.
fs8x_status_t FS8x_SwitchAMUXchannel(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData, fs8x_amux_selection_t channelSelection)
Switches a desired channel to the AMUX pin.
@ fs8xAmuxVldo1VoltDiv2_5
This data structure is used by the FS8x driver (this is the first parameter of most the FS8x function...
#define FS8X_M_AMUX_VDIG_FS
#define FS8X_M_RATIO_RATIO_14
#define FS8X_M_AMUX_PSYNC_VOLTAGE
fs8x_status_t FS8x_SetRegulatorState(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData, fs8x_reg_output_t vreg, bool enable)
Sets state (enable/disable) of the selected voltage regulator.
#define FS8X_M_AMUX_WAKE1_VOLTAGE_DIVIDED
#define FS8X_M_AMUX_VBOOST_VOLTAGE_DIVIDED
fs8x_status_t FS8x_FS0B_Release(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData)
FS0B release routine.
#define FS8X_M_AMUX_VBUCK1_VOLTAGE
#define FS8X_M_AMUX_VPRE_VOLTAGE_DIVIDED
#define FS8X_M_AMUX_VLDO2_VOLTAGE_DIVIDED
@ fs8xAmuxVboostVoltDiv2_5
#define FS8X_M_AMUX_WAKE2_VOLTAGE_DIVIDED
fs8x_reg_output_t
Voltage outputs. Can be used with function FS8x_SetRegulatorState().
fs8x_status_t FS8x_WD_ChangeSeed(SPI_INTERFACE_CONFIG_s *spiInterface, fs8x_drv_data_t *drvData, uint16_t wdSeed)
Changes seed of LFSR used for watchdog.
#define FS8X_M_AMUX_BAND_GAP_FAIL_SAFE
#define FS8X_M_AMUX_VBUCK3_VOLTAGE_DIVIDED
#define FS8X_M_AMUX_VLDO1_VOLTAGE_DIVIDED
@ fs8xAmuxWake2VoltDiv7_5
#define FS8X_M_AMUX_BAND_GAP_MAIN
@ fs8xAmuxBandgapFailSafe