foxBMS  1.1.2
The foxBMS Battery Management System API Documentation
Allowed communication types

Macros

#define FS8x_COMM_SPI   0
 
#define FS8x_COMM_I2C   1
 
#define FS8x_COMM_BOTH   2
 

Detailed Description

If SPI or I2C communication is selected, the other implementation will not be compiled. Actual communication type can be selected in fs8x_drv_data_t::communicationMode.

Macro Definition Documentation

◆ FS8x_COMM_BOTH

#define FS8x_COMM_BOTH   2

SPI and I2C communication implementation will be compiled.

Definition at line 82 of file sbc_fs8x_common.h.

◆ FS8x_COMM_I2C

#define FS8x_COMM_I2C   1

I2C communication implementation will be compiled.

Definition at line 81 of file sbc_fs8x_common.h.

◆ FS8x_COMM_SPI

#define FS8x_COMM_SPI   0

SPI communication implementation will be compiled.

Definition at line 80 of file sbc_fs8x_common.h.