The foxBMS secondary mcu API documentation
SPI_STATE_s Struct Reference

#include <spi.h>

Data Fields

uint8_t transmit_ongoing
uint8_t dummyByte_ongoing
uint8_t counter

Detailed Description

This structure contains variables relevant for the SPI driver.

Field Documentation

◆ counter

uint8_t SPI_STATE_s::counter

general purpose counter

◆ dummyByte_ongoing

uint8_t SPI_STATE_s::dummyByte_ongoing

SPI dummy byte is currently transmitted

◆ transmit_ongoing

uint8_t SPI_STATE_s::transmit_ongoing

time in ms before the state machine processes the next state, e.g. in counts of 1ms

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