foxBMS - Unit Tests  1.1.0
The foxBMS Unit Tests API Documentation
fs8x_drv_data_t Struct Reference

This data structure is used by the FS8x driver (this is the first parameter of most the FS8x functions). It contains a configuration of the FS8x device. More...

#include <sbc_fs8x_common.h>

Data Fields

uint16_t watchdogSeed
 Actual watchdog seed value. See FS8x_WD_ChangeSeed() for details. More...
 
fs8x_commType_t communicationMode
 Actual communication mode (SPI or I2C). See fs8x_commType_t for details. More...
 
uint8_t i2cAddressOtp
 SBC I2C address. More...
 

Detailed Description

This data structure is used by the FS8x driver (this is the first parameter of most the FS8x functions). It contains a configuration of the FS8x device.

Definition at line 151 of file sbc_fs8x_common.h.

Field Documentation

◆ communicationMode

fs8x_commType_t fs8x_drv_data_t::communicationMode

Actual communication mode (SPI or I2C). See fs8x_commType_t for details.

Definition at line 157 of file sbc_fs8x_common.h.

◆ i2cAddressOtp

uint8_t fs8x_drv_data_t::i2cAddressOtp

SBC I2C address.

This is not the full I2C address but just a value of the OTP register OTP_CFG_I2C - I2CDEVADDR[3:0].

Definition at line 163 of file sbc_fs8x_common.h.

◆ watchdogSeed

uint16_t fs8x_drv_data_t::watchdogSeed

Actual watchdog seed value. See FS8x_WD_ChangeSeed() for details.

Definition at line 154 of file sbc_fs8x_common.h.


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