foxBMS  1.2.0
The foxBMS Battery Management System API Documentation
fs8x_tx_frame_t Struct Reference

Structure representing transmit data frame. More...

#include <sbc_fs8x_common.h>

Data Fields

bool isFailSafe
 Main/Fail Safe register selection. More...
 
uint8_t registerAddress
 Register address. More...
 
fs8x_command_type_t commandType
 Command type (R/W). More...
 
uint16_t writeData
 Data to be written to the register. More...
 

Detailed Description

Structure representing transmit data frame.

Definition at line 116 of file sbc_fs8x_common.h.

Field Documentation

◆ commandType

fs8x_command_type_t fs8x_tx_frame_t::commandType

Command type (R/W).

Definition at line 125 of file sbc_fs8x_common.h.

◆ isFailSafe

bool fs8x_tx_frame_t::isFailSafe

Main/Fail Safe register selection.

Definition at line 119 of file sbc_fs8x_common.h.

◆ registerAddress

uint8_t fs8x_tx_frame_t::registerAddress

Register address.

Definition at line 122 of file sbc_fs8x_common.h.

◆ writeData

uint16_t fs8x_tx_frame_t::writeData

Data to be written to the register.

If commandType is "read", this value will be ignored.

Definition at line 130 of file sbc_fs8x_common.h.


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